properlly use nix-direnv cache
This commit is contained in:
parent
16735edf34
commit
d43ef6cf70
5 changed files with 15 additions and 10 deletions
1
.envrc
1
.envrc
|
@ -2,5 +2,6 @@
|
||||||
|
|
||||||
dotenv_if_exists .env.local
|
dotenv_if_exists .env.local
|
||||||
|
|
||||||
|
nix_direnv_manual_reload
|
||||||
use flake
|
use flake
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
config = {
|
config = {
|
||||||
nix-direnv = true;
|
nix-direnv = true;
|
||||||
global = {
|
global = {
|
||||||
|
@ -11,7 +12,10 @@
|
||||||
hide_env_diff = true;
|
hide_env_diff = true;
|
||||||
};
|
};
|
||||||
whitelist = {
|
whitelist = {
|
||||||
prefix = [ "~/projects" ];
|
prefix = [
|
||||||
|
"~/projects"
|
||||||
|
"~/.config"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,7 +6,7 @@ bind C-Space send-prefix
|
||||||
# bind -r p previous-window
|
# bind -r p previous-window
|
||||||
# bind -r n next-window
|
# bind -r n next-window
|
||||||
bind -r & kill-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 ',' command-prompt "rename-window %%"
|
||||||
bind "\|" split-window -h -c "#{pane_current_path}"
|
bind "\|" split-window -h -c "#{pane_current_path}"
|
||||||
bind "\\" split-window -v -c "#{pane_current_path}"
|
bind "\\" split-window -v -c "#{pane_current_path}"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./containers/tests.nix
|
./containers/tests.nix
|
||||||
./containers/librechat.nix
|
./containers/librechat.nix
|
||||||
./containers/affine.nix
|
# ./containers/affine.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
14
hosts/lio/flake.lock
generated
14
hosts/lio/flake.lock
generated
|
@ -204,11 +204,11 @@
|
||||||
},
|
},
|
||||||
"mod_nebula": {
|
"mod_nebula": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735839301,
|
"lastModified": 1737504380,
|
||||||
"narHash": "sha256-f2JlNaCrA3BA8fPT0uThiuiIZX5ehDe0lPlSLL/QMgY=",
|
"narHash": "sha256-fCUUWkXAzsJDdZuGoG4GhAMdGld4J8cvDtzo6SlB9Dg=",
|
||||||
"ref": "mod_nebula",
|
"ref": "mod_nebula",
|
||||||
"rev": "38c50b65c66740566b39529bbd91624b01b6ea2a",
|
"rev": "70cea59e9f1f750fd0aee8cde8cd54aee8601336",
|
||||||
"revCount": 3,
|
"revCount": 5,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.joshuabell.xyz/dotfiles"
|
"url": "https://git.joshuabell.xyz/dotfiles"
|
||||||
},
|
},
|
||||||
|
@ -305,11 +305,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736916166,
|
"lastModified": 1737885640,
|
||||||
"narHash": "sha256-puPDoVKxkuNmYIGMpMQiK8bEjaACcCksolsG36gdaNQ=",
|
"narHash": "sha256-GFzPxJzTd1rPIVD4IW+GwJlyGwBDV1Tj5FLYwDQQ9sM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e24b4c09e963677b1beea49d411cd315a024ad3a",
|
"rev": "4e96537f163fad24ed9eb317798a79afc85b51b7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue