refactor: reworked all maps

This commit is contained in:
Nick 2024-11-04 02:09:15 -06:00
parent b5aa0453e4
commit a114034e0e
20 changed files with 220 additions and 207 deletions

View file

@ -49,7 +49,6 @@ in {
};
sops = let
sopsSecrets = ["pass" "ssh"];
sopsPath = secret: {
path = "${service.sops.path0}/${secret}";
owner = "root";
@ -62,7 +61,10 @@ in {
name = "${service.name}/${secret}";
value = sopsPath secret;
})
sopsSecrets
[
"pass"
"ssh"
]
);
};