From 8009b3c272452d1f4ddee3c2c68a5a26890a668e Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Mon, 6 May 2024 15:31:52 -0400 Subject: [PATCH] enable direnv, fixes nix-shell issues Signed-off-by: ahuston-0 --- users/alice/home.nix | 5 +++++ users/alice/home/zsh.nix | 17 ----------------- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/users/alice/home.nix b/users/alice/home.nix index 36e58f4..87d8323 100644 --- a/users/alice/home.nix +++ b/users/alice/home.nix @@ -107,6 +107,11 @@ enable = true; enableZshIntegration = true; }; + direnv = { + enable = true; + enableZshIntegration = true; + nix-direnv.enable = true; + }; neovim = { enable = true; diff --git a/users/alice/home/zsh.nix b/users/alice/home/zsh.nix index 09c7ab5..daa93f7 100644 --- a/users/alice/home/zsh.nix +++ b/users/alice/home/zsh.nix @@ -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 {