2024-06-08 22:32:15 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
age.secrets.Stargate-Discovery.file = ../../secrets/wifi/Stargate-Discovery.age;
|
|
|
|
age.secrets.wattson.file = ../../secrets/wifi/wattson.age;
|
|
|
|
|
|
|
|
networking.networkmanager = {
|
|
|
|
ensureProfiles = {
|
|
|
|
environmentFiles = [
|
|
|
|
config.age.secrets.Stargate-Discovery.path
|
|
|
|
config.age.secrets.wattson.path
|
|
|
|
];
|
|
|
|
profiles = {
|
|
|
|
Stargate-Discovery = {
|
|
|
|
connection.type = "wifi";
|
|
|
|
connection.id = "Stargate-Discovery";
|
2024-06-08 23:12:29 -04:00
|
|
|
wifi.ssid = "Stargate-Discovery";
|
2024-06-08 22:32:15 -04:00
|
|
|
wifi-security = {
|
|
|
|
auth-alg = "open";
|
|
|
|
key-mgmt = "wpa-psk";
|
|
|
|
psk = "$StargateDiscoveryPSK";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
wattson = {
|
|
|
|
connection.type = "wifi";
|
|
|
|
connection.id = "wattson";
|
|
|
|
wifi.ssid = "wattson";
|
|
|
|
wifi-security = {
|
|
|
|
auth-alg = "open";
|
|
|
|
key-mgmt = "wpa-psk";
|
|
|
|
psk = "$wattsonPSK";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|