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 = {
|
2024-06-09 12:30:08 -04:00
|
|
|
|
connection = {
|
|
|
|
|
id = "Stargate-Discovery";
|
|
|
|
|
type = "wifi";
|
|
|
|
|
};
|
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 = {
|
2024-06-09 12:30:08 -04:00
|
|
|
|
connection = {
|
|
|
|
|
id = "wattson";
|
|
|
|
|
type = "wifi";
|
|
|
|
|
};
|
2024-06-08 22:32:15 -04:00
|
|
|
|
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" = {
|
2024-06-09 12:30:08 -04:00
|
|
|
|
connection = {
|
|
|
|
|
id = "Dustin’s iPhone";
|
|
|
|
|
type = "wifi";
|
|
|
|
|
};
|
2024-06-09 09:40:29 -04:00
|
|
|
|
wifi.ssid = "Dustin’s iPhone";
|
|
|
|
|
wifi-security = {
|
|
|
|
|
auth-alg = "open";
|
|
|
|
|
key-mgmt = "wpa-psk";
|
|
|
|
|
psk = "$DustinsiPhonePSK";
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-06-09 12:30:08 -04:00
|
|
|
|
WeWorkWiFi = {
|
|
|
|
|
"802-1x" = {
|
|
|
|
|
eap = "peap;";
|
|
|
|
|
identity = "$WeWorkWiFiIdentity";
|
|
|
|
|
password = "$WeWorkWiFiPassword";
|
|
|
|
|
phase2-auth = "mschapv2";
|
|
|
|
|
};
|
|
|
|
|
connection = {
|
|
|
|
|
id = "WeWorkWiFi";
|
|
|
|
|
type = "wifi";
|
|
|
|
|
};
|
|
|
|
|
wifi.ssid = "WeWorkWiFi";
|
|
|
|
|
wifi-security.key-mgmt = "wpa-eap";
|
|
|
|
|
};
|
2024-06-08 22:32:15 -04:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|