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
../home/programs/flood
];
networking.wireless.networks.N904.pskRaw = (
(import ../system/framework/keys.nix).wifi.N904.pskRaw
networking.wireless.networks."ShamblingHalfling 5Ghz-1".pskRaw = (
(import ../system/framework/keys.nix).wifi."ShamblingHalfling 5Ghz-1".pskRaw
);
services.nfs.server.enable = true;

View file

@ -9,8 +9,14 @@
};
wifi = {
# These wifi names must match exactly the network names used for
# wpa_supplicant configuration!
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;
};
"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.wireless = {
enable = true; # Enables wireless support via wpa_supplicant.
userControlled.enable = true;
};
networking.nat.externalInterface = "wlo1";