2024-06-08 22:32:15 -04:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
inputs,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
2024-06-09 12:15:37 -04:00
|
|
|
|
age.secrets.wifi.file = ../../secrets/wifi.age;
|
2024-06-08 22:32:15 -04:00
|
|
|
|
|
|
|
|
|
networking.networkmanager = {
|
|
|
|
|
ensureProfiles = {
|
|
|
|
|
environmentFiles = [
|
2024-06-09 12:15:37 -04:00
|
|
|
|
config.age.secrets.wifi.path
|
2024-06-08 22:32:15 -04:00
|
|
|
|
];
|
|
|
|
|
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";
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-06-09 09:40:29 -04:00
|
|
|
|
"Dustin’s iPhone" = {
|
|
|
|
|
connection.type = "Dustin’s iPhone";
|
|
|
|
|
connection.id = "Dustin’s iPhone";
|
|
|
|
|
wifi.ssid = "Dustin’s iPhone";
|
|
|
|
|
wifi-security = {
|
|
|
|
|
auth-alg = "open";
|
|
|
|
|
key-mgmt = "wpa-psk";
|
|
|
|
|
psk = "$DustinsiPhonePSK";
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-06-08 22:32:15 -04:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|