From 36760c90f3babefd1230803b489a55b3a1ac5537 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 9 Jun 2024 12:30:08 -0400 Subject: [PATCH] system: add WeWorkWiFi network --- nixosModules/system/wifi.nix | 32 ++++++++++++++++++++++++++------ secrets/wifi.age | Bin 1307 -> 1389 bytes 2 files changed, 26 insertions(+), 6 deletions(-) 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 4a341a2abd572ad4804367a1227c0eb0b630efdc..47acc4001b36aca9689291e6c99e1c7532c9ed62 100644 GIT binary patch literal 1389 zcmZY7+pF6I0LO9EjbU*^6vgd9I&~9Q&vI#!rpnZ`&1r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