Change name, add rocm

This commit is contained in:
Artemis Tosini 2020-04-27 23:19:31 +00:00
parent fe48c73cd1
commit 96c26005a5
Signed by: artemist
GPG key ID: EE5227935FE3FF18
7 changed files with 21 additions and 8 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "private"] [submodule "private"]
path = private path = private
url = git@github.com:artemist/nixos-config-private.git url = git@github.com:artemist/nixos-config-private.git
[submodule "externals/nixos-rocm"]
path = externals/nixos-rocm
url = https://github.com/nixos-rocm/nixos-rocm.git

View file

@ -10,7 +10,7 @@
initrd.luks = { initrd.luks = {
reusePassphrases = true; reusePassphrases = true;
devices = { devices = {
balrog = { "${config.networking.hostName}" = {
device = "/dev/disk/by-uuid/274ec302-20b7-43bf-aa72-895ffdd96919"; device = "/dev/disk/by-uuid/274ec302-20b7-43bf-aa72-895ffdd96919";
preLVM = true; preLVM = true;
allowDiscards = true; allowDiscards = true;

View file

@ -14,6 +14,7 @@
./fonts.nix ./fonts.nix
./ssh.nix ./ssh.nix
./dns.nix ./dns.nix
./rocm.nix
]; ];
nix = { nix = {
@ -130,7 +131,7 @@
}; };
networking = { networking = {
hostName = "balrog"; hostName = "starlight";
firewall.enable = false; firewall.enable = false;
networkmanager = { networkmanager = {
enable = true; enable = true;

View file

@ -2,7 +2,6 @@
{ {
networking = { networking = {
nameservers = [ "::1" "127.0.0.1" ];
resolvconf.useLocalResolver = true; resolvconf.useLocalResolver = true;
networkmanager.dns = "none"; networkmanager.dns = "none";
}; };
@ -20,7 +19,7 @@
}; };
server_names = ["cloudflare"]; server_names = ["cloudflare"];
fallback_resolvers = ["1.1.1.1:53" "1.0.0.1:53"]; fallback_resolvers = ["1.1.1.1:53" "8.8.8.8:53"];
listen_addresses = ["0.0.0.0:53"]; listen_addresses = ["0.0.0.0:53"];
}; };

1
externals/nixos-rocm vendored Submodule

@ -0,0 +1 @@
Subproject commit a1f8c1518b4fd9ae718abd059986d004069be7da

View file

@ -100,6 +100,7 @@ in
fzf fzf
git-lfs git-lfs
gitAndTools.gitFull gitAndTools.gitFull
gitAndTools.pass-git-helper
htop htop
hunspell hunspell
iw iw
@ -110,11 +111,12 @@ in
neovim neovim
nix-index nix-index
openssl openssl
parallel
p7zip p7zip
pandoc pandoc
parallel
pciutils pciutils
pdftk pdftk
pijul
poppler_utils poppler_utils
ripgrep ripgrep
rlwrap rlwrap
@ -123,6 +125,7 @@ in
tomb tomb
traceroute traceroute
tree tree
unrar
unzip unzip
usbutils usbutils
xclip xclip
@ -175,9 +178,8 @@ in
yosys yosys
# Radio # Radio
gr-limesdr
limesuite limesuite
gnuradio gnuradio-with-packages
soapysdr soapysdr
gqrx gqrx
@ -226,10 +228,11 @@ in
tdesktop tdesktop
# Gnome configuration # Gnome configuration
arc-theme
gnome3.adwaita-icon-theme gnome3.adwaita-icon-theme
gnome3.gnome-tweak-tool gnome3.gnome-tweak-tool
gnome3.gsettings-desktop-schemas
gnomeExtensions.appindicator gnomeExtensions.appindicator
gnome_themes_standard
hicolor-icon-theme hicolor-icon-theme
numix-icon-theme numix-icon-theme
numix-icon-theme-circle numix-icon-theme-circle

6
rocm.nix Normal file
View file

@ -0,0 +1,6 @@
{ config, pkgs, lib, ... }:
{
nixpkgs.overlays = [ (import ./externals/nixos-rocm) ];
hardware.opengl.extraPackages = [ pkgs.rocm-opencl-icd ];
}