summary refs log tree commit diff stats
path: root/sys/networking/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/networking/default.nix18
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/networking/default.nix b/sys/networking/default.nix
index 1d55079..e1e6a14 100644
--- a/sys/networking/default.nix
+++ b/sys/networking/default.nix
@@ -1,4 +1,8 @@
-{config, ...}: {
+{
+  config,
+  self,
+  ...
+}: {
   networking = {
     useDHCP = true;
     #nameservers = ["2620:fe::fe" "2620:fe::9" "9.9.9.9" "149.112.112.112"];
@@ -11,6 +15,18 @@
         "@SSID_N1@".psk = "@PSK_N1@";
         "@SSID_N2@".psk = "@PSK_N2@";
         "@SSID_N3@".psk = "@PSK_N3@";
+        "@SSID_N4@" = {
+          auth = ''
+            proto=RSN
+            key_mgmt=WPA-EAP
+            pairwise=CCMP
+            auth_alg=OPEN
+            eap=PEAP
+            identity="@IDENTITY_N4@"
+            password="@PSK_N4@"
+            ca_cert="${self}/files/DNSX-CA.pem"
+          '';
+        };
       };
       userControlled = {
         enable = true;