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:
parent
f87cfd5d5a
commit
584956bcf6
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue