zsh/direnv: Whitelist ~/mounts/.envrc explicitly

Otherwise I have to run `direnv allow` every time after the home-manager
profile changed because the link target changed.
nazuna
Simon Bruder 2022-08-16 00:51:10 +02:00
parent f87cfd5d5a
commit 584956bcf6
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 7 additions and 0 deletions

View File

@ -55,6 +55,13 @@ in
nix-direnv = {
enable = true;
};
config = {
whitelist = {
exact = [
"${config.home.homeDirectory}/mounts/.envrc"
];
};
};
};
nix-index.enable = true;
starship = {