diff options
| author | Mathias Magnusson <mathias@magnusson.space> | 2025-10-19 13:30:52 +0200 |
|---|---|---|
| committer | Mathias Magnusson <mathias@magnusson.space> | 2025-10-19 15:36:49 +0200 |
| commit | 3ccc68f167184a093c79cab4ff8e25b37206a20c (patch) | |
| tree | 8795385637e4831b00bea46018c037c7b0a5147f /router.nix | |
| parent | af7f731f5bac7dacc1083156913a9823887113db (diff) | |
| download | oden-3ccc68f167184a093c79cab4ff8e25b37206a20c.tar.gz | |
Add agenix
Diffstat (limited to 'router.nix')
| -rw-r--r-- | router.nix | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -{ ... }: +{ config, ... }: let lanInterface = "enp5s0f0u2"; wifiInterface = "wlp9s0"; @@ -36,12 +36,13 @@ in authentication = { mode = "wpa3-sae"; saePasswords = [ - { password = "REDACTED"; } + { passwordFile = config.age.secrets."wifi-password.txt".path; } ]; }; }; }; }; + age.secrets."wifi-password.txt".file = ./secrets/wifi-password.txt.age; services.dnsmasq = { enable = true; |
