diff options
author | sils <sils@sils.li> | 2023-11-19 22:54:19 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-11-19 22:54:19 +0100 |
commit | 0382d371c2998756326278c719a0d928209e1480 (patch) | |
tree | e942be0ff818105cc3a53c4fa269b4ae48cde03a /sys/networking | |
parent | feat(flake): add (r)agenix (diff) | |
download | nix-config-0382d371c2998756326278c719a0d928209e1480.tar.gz nix-config-0382d371c2998756326278c719a0d928209e1480.zip |
feat(treewide): use agenix for wifi-passwords
Diffstat (limited to '')
-rw-r--r-- | sys/networking/default.nix | 3 | ||||
-rw-r--r-- | sys/networking/networks.nix | bin | 85 -> 128 bytes |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/networking/default.nix b/sys/networking/default.nix index c630249..2d5a74b 100644 --- a/sys/networking/default.nix +++ b/sys/networking/default.nix @@ -1,9 +1,10 @@ -{...}: { +{config, ...}: { networking = { useDHCP = true; #nameservers = ["2620:fe::fe" "2620:fe::9" "9.9.9.9" "149.112.112.112"]; wireless = { enable = true; + environmentFile = config.age.secrets.wireless.path; networks = import ./networks.nix; }; }; diff --git a/sys/networking/networks.nix b/sys/networking/networks.nix index 8f3130d..fdb2d1b 100644 --- a/sys/networking/networks.nix +++ b/sys/networking/networks.nix Binary files differ |