Revert "decrypt-parallel"
This commit is contained in:
parent
9ba0d85de3
commit
65418fc443
1 changed files with 0 additions and 3 deletions
|
|
@ -68,7 +68,6 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installSecret = secretType: ''
|
installSecret = secretType: ''
|
||||||
(
|
|
||||||
${setTruePath secretType}
|
${setTruePath secretType}
|
||||||
echo "decrypting '${secretType.file}' to '$_truePath'..."
|
echo "decrypting '${secretType.file}' to '$_truePath'..."
|
||||||
TMP_FILE="$_truePath.tmp"
|
TMP_FILE="$_truePath.tmp"
|
||||||
|
|
@ -99,7 +98,6 @@ let
|
||||||
${optionalString secretType.symlink ''
|
${optionalString secretType.symlink ''
|
||||||
[ "${secretType.path}" != "${cfg.secretsDir}/${secretType.name}" ] && ln -sfT "${cfg.secretsDir}/${secretType.name}" "${secretType.path}"
|
[ "${secretType.path}" != "${cfg.secretsDir}/${secretType.name}" ] && ln -sfT "${cfg.secretsDir}/${secretType.name}" "${secretType.path}"
|
||||||
''}
|
''}
|
||||||
) &
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
testIdentities = map (path: ''
|
testIdentities = map (path: ''
|
||||||
|
|
@ -122,7 +120,6 @@ let
|
||||||
[ "echo '[agenix] decrypting secrets...'" ]
|
[ "echo '[agenix] decrypting secrets...'" ]
|
||||||
++ testIdentities
|
++ testIdentities
|
||||||
++ (map installSecret (builtins.attrValues cfg.secrets))
|
++ (map installSecret (builtins.attrValues cfg.secrets))
|
||||||
++ [ "wait" ]
|
|
||||||
++ [ cleanupAndLink ]
|
++ [ cleanupAndLink ]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue