forked from clan/clan-core
sops: fix decrypte path on machine
This commit is contained in:
parent
b342e3f991
commit
5b838c0d9c
@ -46,6 +46,7 @@ in
|
||||
clanCore.facts.secretModule = "clan_cli.facts.secret_modules.sops";
|
||||
clanCore.facts.secretUploadDirectory = lib.mkDefault "/var/lib/sops-nix";
|
||||
sops.secrets = builtins.mapAttrs (name: _: {
|
||||
name = lib.strings.removePrefix "${config.networking.hostName}-" name;
|
||||
sopsFile = config.clanCore.clanDir + "/sops/secrets/${name}/secret";
|
||||
format = "binary";
|
||||
}) secrets;
|
||||
|
Loading…
Reference in New Issue
Block a user