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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue