Switch to ragenix over agenix

This commit is contained in:
2023-01-08 18:50:52 +00:00
parent b95199f146
commit d916f5c5da
31 changed files with 268 additions and 169 deletions

View File

@@ -3,12 +3,12 @@ let
inherit (self) lib;
inherit (builtins) mapAttrs attrValues readFile getFlake;
inherit (lib) optional flatten zipAttrsWith nameValuePair mapAttrs';
inherit (lib) fileContents optional flatten zipAttrsWith nameValuePair mapAttrs';
secretPath = p: "secrets/${p}.age";
defaultKeys = [
(readFile .keys/dev.pub)
(fileContents .keys/dev.pub)
];
secretKeys =
zipAttrsWith