enable direnv, fixes nix-shell issues

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-05-06 15:31:52 -04:00 committed by Alice Huston
parent 8885cae07e
commit 8009b3c272
2 changed files with 5 additions and 17 deletions

View File

@ -107,6 +107,11 @@
enable = true;
enableZshIntegration = true;
};
direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
neovim = {
enable = true;

View File

@ -17,25 +17,8 @@
"tmux"
"ufw"
"z"
#"fzf"
];
};
zplug = {
enable = true;
plugins = [ { name = "chisui/zsh-nix-shell"; } ];
};
# plugins = [
# {
# name = "zsh-nix-shell";
# file = "nix-shell.plugin.zsh";
# src = pkgs.fetchFromGitHub {
# owner = "chisui";
# repo = "zsh-nix-shell";
# rev = "v0.8.0";
# sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
# };
# }
# ];
initExtra = ''
# functions
function mount-data {