From 0382d371c2998756326278c719a0d928209e1480 Mon Sep 17 00:00:00 2001 From: sils Date: Sun, 19 Nov 2023 22:54:19 +0100 Subject: feat(treewide): use agenix for wifi-passwords --- sys/networking/default.nix | 3 ++- sys/networking/networks.nix | Bin 85 -> 128 bytes 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') 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 Binary files a/sys/networking/networks.nix and b/sys/networking/networks.nix differ -- cgit 1.4.1