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.
This commit is contained in:
Simon Bruder 2022-08-16 00:51:10 +02:00
parent f87cfd5d5a
commit 584956bcf6
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

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