clanCore/vars/sops: add sops & switch to builtins.path

This commit is contained in:
vdbe
2025-05-01 15:49:36 +02:00
committed by Jörg Thalheim
parent b08a2bdb75
commit d445a353d5
2 changed files with 12 additions and 14 deletions

View File

@@ -49,7 +49,10 @@ in
mode
neededForUsers
;
sopsFile = secretPath secret;
sopsFile = builtins.path {
name = "${secret.generator}_${secret.name}";
path = secretPath secret;
};
format = "binary";
};
}) (builtins.filter (x: builtins.pathExists (secretPath x)) vars)