added syncthing - need to secret certs per host

This commit is contained in:
2023-03-08 03:46:34 +00:00
parent c982805de4
commit 0af185c7b6
3 changed files with 51 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ in rec {
# 'sops' Encrypted Secrets
hm_secrets = dir: out_dir:
filter (name: type: type != null && !(hasPrefix "_" name)) (name: type:
if type == "regular" && hasSuffix ".age" name
if type == "regular"
then
nameValuePair name {
sopsFile = dir + "/${name}";