backwards: Add secret for wpa_supplicant.conf
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
|
||||
networkmanager.enable = false;
|
||||
wireless.enable = true;
|
||||
|
||||
#wireless.networks are defined in the secret `wpa_supplicant.conf`
|
||||
|
||||
defaultGateway = "192.168.50.1";
|
||||
nameservers = [ "1.1.1.1" ];
|
||||
interfaces = {
|
||||
@@ -19,4 +20,11 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
age.secrets = {
|
||||
"wpa_supplicant.conf" = {
|
||||
file = ../../../../secrets/backwards/wpa_supplicant.conf.age;
|
||||
path = "/etc/wpa_supplicant.conf";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user