From 107f8b47121d9dc7b78a96f172158f9b6b51829d Mon Sep 17 00:00:00 2001 From: sils Date: Sun, 26 Nov 2023 12:47:39 +0100 Subject: feat(sys/networking): declare networks with hidden ssids --- sys/networking/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'sys') 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? + }; }; }; } -- cgit 1.4.1