37 lines
852 B
Nix
Raw Permalink Normal View History

2024-04-14 22:45:21 +02:00
{ lib, config, ... }: {
config = lib.mkIf (config.syscfg.net.wlp.enable) {
2023-11-04 02:28:27 +01:00
networking.supplicant = {
2024-04-14 22:45:21 +02:00
"${config.syscfg.net.wlp.nif}" = {
2023-11-04 02:28:27 +01:00
configFile.path = config.sops.secrets.wifi.path;
extraConf = ''
network={
ssid="test"
psk="12345678"
}
network={
ssid="WIFIonICE"
}
network={
ssid="JR-EAST_FREE_Wi-Fi"
}
network={
ssid="JR-WEST_FREE_Wi-Fi"
}
network={
ssid="tabinohotel"
psk="tabinohotel"
}
network={
ssid="comforthotel"
psk="comforthotel"
}
network={
ssid="sotetsu-hotels"
psk="sotetsux"
}
'';
};
};
};
}