rework wpa supplicants

This commit is contained in:
Rouven Seifert 2024-09-26 17:48:59 +02:00
parent 43af3e872c
commit 8b786bdc42
5 changed files with 89 additions and 60 deletions

View file

@ -49,29 +49,29 @@
userControlled.enable = true;
# sadly broken on my machine
scanOnLowSignal = false;
environmentFile = config.age.secrets.wireless.path;
secretsFile = config.age.secrets.wireless.path;
networks = {
"@HOME_SSID@" = {
psk = "@HOME_PSK@";
"Smoerrebroed" = {
pskRaw = "ext:HOME_PSK";
authProtocols = [ "WPA-PSK" ];
};
"@DORM_SSID@" = {
psk = "@DORM_PSK@";
"Cudy-6140" = {
pskRaw = "ext:DORM_PSK";
authProtocols = [ "SAE" ];
extraConfig = "disabled=1";
};
"@DORM5_SSID@" = {
"Cudy-6150" = {
priority = 5;
psk = "@DORM_PSK@";
pskRaw = "ext:DORM_PSK";
authProtocols = [ "SAE" ];
extraConfig = "disabled=1";
};
"LKG-Gast" = {
psk = "@LKGDD_GUEST_PSK@";
pskRaw = "ext:LKGDD_GUEST_PSK";
authProtocols = [ "WPA-PSK" ];
};
"@PIXEL_SSID@" = {
psk = "@PIXEL_PSK@";
"Pxl" = {
pskRaw = "ext:PIXEL_PSK";
authProtocols = [ "WPA-PSK" ];
};
"WIFI@DB" = {