configure direnv and zoxide with home manager

This commit is contained in:
Niccolo Borgioli 2025-02-03 17:50:00 +01:00
parent 61fa1382f0
commit 752be0fe82
2 changed files with 3 additions and 8 deletions

View File

@ -40,6 +40,9 @@
}; };
programs = { programs = {
direnv.enable = true;
zoxide.enable = true;
fish = { fish = {
enable = true; enable = true;
interactiveShellInit = '' interactiveShellInit = ''
@ -49,12 +52,6 @@
if type -q fnm if type -q fnm
fnm env --use-on-cd | source fnm env --use-on-cd | source
end end
if type -q direnv
direnv hook fish | source
end
if type -q zoxide
zoxide init fish | source
end
''; '';
}; };
bash = { bash = {

View File

@ -19,12 +19,10 @@ with pkgs;
woff2 woff2
bat bat
rsync rsync
zoxide
#bitwarden-cli #bitwarden-cli
# Dev # Dev
devenv devenv
direnv
nixpacks nixpacks
ollama ollama