soraefir 972cb47e3f
All checks were successful
Nix Build / build-nixos (push) Successful in 5m27s
Merged Host/Home Opt into SysOpt
2024-04-14 12:09:03 +02:00

39 lines
850 B
Nix

{ lib, config, ... }:
let cfg = config.syscfg.net.wlp;
in {
config = lib.mkIf cfg.enable {
networking.supplicant = {
"${cfg.nif}" = {
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"
}
'';
};
};
};
}