alyssum/networking: point to wpa_conf correctly, attempt 3

This commit is contained in:
Cilly Leang 2026-05-28 20:16:59 +10:00
parent 865b473df7
commit 0d99bd6015
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 5 additions and 2 deletions

View file

@ -4,7 +4,11 @@
time.timeZone = "Australia/Melbourne";
age.secrets = {
wpa_conf.file = ../../secrets/wpa_conf.age;
wpa_conf = {
file = ../../secrets/wpa_conf.age;
path = "/etc/wpa_supplicant/imperative.conf";
symlink = false;
};
};
imports = with modules.system; [

View file

@ -1,5 +1,4 @@
{ config, ... }: {
environment.etc."wpa_supplicant/imperative.conf".source = config.age.secrets.wpa_conf.path;
networking = {
useDHCP = true;
wireless.enable = true;