mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2025-04-09 23:52:58 +00:00
configure direnv and zoxide with home manager
This commit is contained in:
parent
61fa1382f0
commit
752be0fe82
9
home.nix
9
home.nix
@ -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 = {
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user