move direnv to home

This commit is contained in:
Noa Aarts 2024-11-11 00:24:53 +01:00
parent eaf2c4ee2c
commit 1377897bf4
Signed by: noa
GPG key ID: 1850932741EFF672
2 changed files with 5 additions and 5 deletions

View file

@ -172,6 +172,11 @@ in
proc_mem_bytes = true;
};
};
direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
# Let Home Manager install and manage itself.
home-manager.enable = true;
# add `play funny video` as alias because why not

View file

@ -14,11 +14,6 @@ in
};
config = lib.mkIf cfg.enable {
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
programs.zsh = {
enable = true;
shellAliases = lib.mkIf cfg.enableAliases {