fixes
This commit is contained in:
parent
9813be04c4
commit
3d2aebef84
3 changed files with 19 additions and 19 deletions
|
|
@ -6,6 +6,7 @@
|
|||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.horseman.base.secrets;
|
||||
secretFile = path: ../../secrets/${path};
|
||||
in {
|
||||
options = {
|
||||
horseman.base.secrets = {
|
||||
|
|
@ -18,9 +19,8 @@ in {
|
|||
inputs.agenix.packages.x86_64-linux.default
|
||||
];
|
||||
|
||||
age.secrets.wifi = {
|
||||
file = ../../secrets/wifi.age;
|
||||
path = "/run/secrets/wifi.conf";
|
||||
age.secrets = {
|
||||
wifi.file = secretFile "wifi.age";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ in {
|
|||
authProtocols = ["WPA-EAP"];
|
||||
auth = ''
|
||||
eap=PEAP
|
||||
identity=ext:identity_uni
|
||||
identity="k.j.deruiter@students.uu.nl"
|
||||
password=ext:psk_uni
|
||||
phase2="auth=MSCHAPV2"
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue