alyssum/networking: point to wpa_conf correctly, attempt 3
This commit is contained in:
parent
865b473df7
commit
0d99bd6015
2 changed files with 5 additions and 2 deletions
|
|
@ -4,7 +4,11 @@
|
||||||
time.timeZone = "Australia/Melbourne";
|
time.timeZone = "Australia/Melbourne";
|
||||||
|
|
||||||
age.secrets = {
|
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; [
|
imports = with modules.system; [
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{ config, ... }: {
|
{ config, ... }: {
|
||||||
environment.etc."wpa_supplicant/imperative.conf".source = config.age.secrets.wpa_conf.path;
|
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
wireless.enable = true;
|
wireless.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue