refactor works on lio host
This commit is contained in:
parent
1d9c4beaf3
commit
f0c096edec
73 changed files with 2214 additions and 1091 deletions
28
common/_home_manager/mods/direnv.nix
Normal file
28
common/_home_manager/mods/direnv.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
config = {
|
||||
nix-direnv = true;
|
||||
global = {
|
||||
strict_env = true;
|
||||
load_dotenv = true;
|
||||
hide_env_diff = true;
|
||||
};
|
||||
whitelist = {
|
||||
prefix = [
|
||||
"~/projects"
|
||||
"~/.config"
|
||||
];
|
||||
};
|
||||
home.shellAliases = {
|
||||
ndr = "nix-direnv-reload";
|
||||
};
|
||||
programs.zsh.shellAliases = {
|
||||
ndr = "nix-direnv-reload";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue