properlly use nix-direnv cache

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-01-27 10:56:41 -06:00
parent 16735edf34
commit d43ef6cf70
5 changed files with 15 additions and 10 deletions

View file

@ -3,6 +3,7 @@
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
config = {
nix-direnv = true;
global = {
@ -11,7 +12,10 @@
hide_env_diff = true;
};
whitelist = {
prefix = [ "~/projects" ];
prefix = [
"~/projects"
"~/.config"
];
};
};
};

View file

@ -6,7 +6,7 @@ bind C-Space send-prefix
# bind -r p previous-window
# bind -r n next-window
bind -r & kill-window
bind c new-window -c "#{pane_current_path}"
bind c new-window -a -c "#{pane_current_path}"
bind ',' command-prompt "rename-window %%"
bind "\|" split-window -h -c "#{pane_current_path}"
bind "\\" split-window -v -c "#{pane_current_path}"