summary refs log tree commit diff stats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/networking/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/networking/default.nix b/sys/networking/default.nix
index 2d5a74b..3067fb6 100644
--- a/sys/networking/default.nix
+++ b/sys/networking/default.nix
@@ -5,7 +5,16 @@
     wireless = {
       enable = true;
       environmentFile = config.age.secrets.wireless.path;
-      networks = import ./networks.nix;
+      networks = {
+        # Important: Never forget the second '@'!
+        "@SSID_N0@".psk = "@PSK_N0@";
+        "@SSID_N1@".psk = "@PSK_N1@";
+        "@SSID_N2@".psk = "@PSK_N2@";
+      };
+      userControlled = {
+        enable = true;
+        group = "wheel"; # TODO: Change this?
+      };
     };
   };
 }