bump secrets, update wifi for nas

This commit is contained in:
Haak Saxberg 2022-09-09 01:03:27 -07:00
parent 3f74c760a6
commit d465785d65
4 changed files with 10 additions and 3 deletions

View file

@ -76,8 +76,8 @@ in
../system/svalbard/configuration.nix ../system/svalbard/configuration.nix
../home/programs/flood ../home/programs/flood
]; ];
networking.wireless.networks.N904.pskRaw = ( networking.wireless.networks."ShamblingHalfling 5Ghz-1".pskRaw = (
(import ../system/framework/keys.nix).wifi.N904.pskRaw (import ../system/framework/keys.nix).wifi."ShamblingHalfling 5Ghz-1".pskRaw
); );
services.nfs.server.enable = true; services.nfs.server.enable = true;

View file

@ -9,8 +9,14 @@
}; };
wifi = { wifi = {
# These wifi names must match exactly the network names used for
# wpa_supplicant configuration!
N904 = { N904 = {
pskRaw = if builtins.pathExists "/home/haak/dotfiles/secrets/wifi/n904/pskRaw.txt" then builtins.readFile "/home/haak/dotfiles/secrets/wifi/n904/pskRaw.txt" else null; pskRaw = if builtins.pathExists "/home/haak/dotfiles/secrets/wifi/n904/pskRaw.txt" then builtins.readFile "/home/haak/dotfiles/secrets/wifi/n904/pskRaw.txt" else null;
}; };
"ShamblingHalfling 5Ghz-1" = {
pskRaw = if builtins.pathExists "/home/haak/dotfiles/secrets/wifi/ShamblingHalfling 5Ghz-1/pskRaw.txt" then builtins.readFile "/home/haak/dotfiles/secrets/wifi/ShamblingHalfling 5Ghz-1/pskRaw.txt" else null;
};
}; };
} }

View file

@ -28,6 +28,7 @@
networking.hostId = "f9e8e9e8"; networking.hostId = "f9e8e9e8";
networking.wireless = { networking.wireless = {
enable = true; # Enables wireless support via wpa_supplicant. enable = true; # Enables wireless support via wpa_supplicant.
userControlled.enable = true;
}; };
networking.nat.externalInterface = "wlo1"; networking.nat.externalInterface = "wlo1";

@ -1 +1 @@
Subproject commit b3f7d52bad7b9c7a1bc235f455a8feddf0f5bb7e Subproject commit 70b9503c98eb2f690a6c7461549ca59be3089db2