Skip to content

Commit

Permalink
chore: use full attribute path to refer to secret
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama committed Apr 3, 2024
1 parent aec71ba commit f0bba78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/agenix-rekey.nix
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ in {
file = mkIf (submod.config.rekeyFile != null) (
if config.age.rekey.storageMode == "derivation"
then "${rekeyedSecrets}/${submod.config.name}.age"
else rekeyedLocalSecret submod.config
else rekeyedLocalSecret config.age.secrets.${submod.config.id}
);
};
}));
Expand Down

0 comments on commit f0bba78

Please sign in to comment.