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

1
.envrc
View file

@ -2,5 +2,6 @@
dotenv_if_exists .env.local
nix_direnv_manual_reload
use flake

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}"

View file

@ -12,7 +12,7 @@
imports = [
./containers/tests.nix
./containers/librechat.nix
./containers/affine.nix
# ./containers/affine.nix
];
config = {

14
hosts/lio/flake.lock generated
View file

@ -204,11 +204,11 @@
},
"mod_nebula": {
"locked": {
"lastModified": 1735839301,
"narHash": "sha256-f2JlNaCrA3BA8fPT0uThiuiIZX5ehDe0lPlSLL/QMgY=",
"lastModified": 1737504380,
"narHash": "sha256-fCUUWkXAzsJDdZuGoG4GhAMdGld4J8cvDtzo6SlB9Dg=",
"ref": "mod_nebula",
"rev": "38c50b65c66740566b39529bbd91624b01b6ea2a",
"revCount": 3,
"rev": "70cea59e9f1f750fd0aee8cde8cd54aee8601336",
"revCount": 5,
"type": "git",
"url": "https://git.joshuabell.xyz/dotfiles"
},
@ -305,11 +305,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1736916166,
"narHash": "sha256-puPDoVKxkuNmYIGMpMQiK8bEjaACcCksolsG36gdaNQ=",
"lastModified": 1737885640,
"narHash": "sha256-GFzPxJzTd1rPIVD4IW+GwJlyGwBDV1Tj5FLYwDQQ9sM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e24b4c09e963677b1beea49d411cd315a024ad3a",
"rev": "4e96537f163fad24ed9eb317798a79afc85b51b7",
"type": "github"
},
"original": {