diff --git a/nixosModules/system/wifi.nix b/nixosModules/system/wifi.nix index 1d39b02f..f3c9e767 100644 --- a/nixosModules/system/wifi.nix +++ b/nixosModules/system/wifi.nix @@ -14,8 +14,10 @@ ]; profiles = { Stargate-Discovery = { - connection.type = "wifi"; - connection.id = "Stargate-Discovery"; + connection = { + id = "Stargate-Discovery"; + type = "wifi"; + }; wifi.ssid = "Stargate-Discovery"; wifi-security = { auth-alg = "open"; @@ -24,8 +26,10 @@ }; }; wattson = { - connection.type = "wifi"; - connection.id = "wattson"; + connection = { + id = "wattson"; + type = "wifi"; + }; wifi.ssid = "wattson"; wifi-security = { auth-alg = "open"; @@ -34,8 +38,10 @@ }; }; "Dustin’s iPhone" = { - connection.type = "Dustin’s iPhone"; - connection.id = "Dustin’s iPhone"; + connection = { + id = "Dustin’s iPhone"; + type = "wifi"; + }; wifi.ssid = "Dustin’s iPhone"; wifi-security = { auth-alg = "open"; @@ -43,6 +49,20 @@ psk = "$DustinsiPhonePSK"; }; }; + 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"; + }; }; }; }; diff --git a/secrets/wifi.age b/secrets/wifi.age index 4a341a2a..47acc400 100644 Binary files a/secrets/wifi.age and b/secrets/wifi.age differ