diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-05-15 08:28:21 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-05-15 08:28:21 -0700 |
| commit | 42d806875499858ea0c684f1c73568c1e5085ced (patch) | |
| tree | 2d7e3f3c57052e8bc629df274ff4667faac3b2fb /system | |
| parent | 1ad7b1e951b2d70679dbdb79abc68d6b20757fc4 (diff) | |
Use wireless.env instead of hardcoding psk
Diffstat (limited to 'system')
| -rw-r--r-- | system/networking.nix | 6 | ||||
| -rw-r--r-- | system/wifi.nix | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/system/networking.nix b/system/networking.nix index 13237a8..31632c1 100644 --- a/system/networking.nix +++ b/system/networking.nix @@ -9,7 +9,11 @@ wireless = { enable = true; - networks = import ./wifi.nix; + + environmentFile = "/persist/secrets/wireless.env"; + networks = { + "The Dwyers".psk = "@PSK@"; + }; }; firewall = { diff --git a/system/wifi.nix b/system/wifi.nix deleted file mode 100644 index 9e23e44..0000000 --- a/system/wifi.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ - "The Dwyers".psk = "86EC3E567E"; -} |