We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f0f812 + 540a4f1 commit 9ba0d85Copy full SHA for 9ba0d85
modules/age.nix
@@ -68,6 +68,7 @@ let
68
'';
69
70
installSecret = secretType: ''
71
+ (
72
${setTruePath secretType}
73
echo "decrypting '${secretType.file}' to '$_truePath'..."
74
TMP_FILE="$_truePath.tmp"
@@ -98,6 +99,7 @@ let
98
99
${optionalString secretType.symlink ''
100
[ "${secretType.path}" != "${cfg.secretsDir}/${secretType.name}" ] && ln -sfT "${cfg.secretsDir}/${secretType.name}" "${secretType.path}"
101
''}
102
+ ) &
103
104
105
testIdentities = map (path: ''
@@ -120,6 +122,7 @@ let
120
122
[ "echo '[agenix] decrypting secrets...'" ]
121
123
++ testIdentities
124
++ (map installSecret (builtins.attrValues cfg.secrets))
125
+ ++ [ "wait" ]
126
++ [ cleanupAndLink ]
127
);
128
0 commit comments