Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions modules/age.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ let
'';

installSecret = secretType: ''
(
${setTruePath secretType}
echo "decrypting '${secretType.file}' to '$_truePath'..."
TMP_FILE="$_truePath.tmp"
Expand Down Expand Up @@ -99,7 +98,6 @@ let
${optionalString secretType.symlink ''
[ "${secretType.path}" != "${cfg.secretsDir}/${secretType.name}" ] && ln -sfT "${cfg.secretsDir}/${secretType.name}" "${secretType.path}"
''}
) &
'';

testIdentities = map (path: ''
Expand All @@ -122,7 +120,6 @@ let
[ "echo '[agenix] decrypting secrets...'" ]
++ testIdentities
++ (map installSecret (builtins.attrValues cfg.secrets))
++ [ "wait" ]
++ [ cleanupAndLink ]
);

Expand Down
Loading