Open axelkar opened 1 month ago
Hmm interesting, it kind of makes sense that the variable is taken from the daemon. I guess you will have to override the cacheDir
setting to a static path to work around this. Alternatively you can switch to the local storage mode which I introduced to remove impurities like this one, since they tend to cause issues from time to time.
My user's UID is 1001 and I'm getting an error during agenix-rekey's
Realizing 4 store paths
. I modifiedoutput-derivation.nix
to print out theid
command, $HOME, $UID, the target hostname and the cachedir. The path afterrekeyed secret:
suggested to me that $UID was not working and I was right!