fix(envrc): watch relevant flake-modules files
Otherwise direnv doesn't work.
This commit is contained in:
parent
3193c3a1ea
commit
67820bb649
1 changed files with 4 additions and 3 deletions
7
.envrc
7
.envrc
|
@ -1,10 +1,11 @@
|
||||||
# update repo
|
# update repo
|
||||||
if has jj; then
|
if has jj; then
|
||||||
jj git fetch --all-remotes
|
jj git fetch --all-remotes
|
||||||
elif has gix; then
|
elif has gix; then
|
||||||
gix fetch
|
gix fetch
|
||||||
elif has git; then
|
elif has git; then
|
||||||
git fetch
|
git fetch
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
watch_file ./flake.{nix,lock} ./flake-modules/{default,devshells,overlays,nixvim-modules}.nix
|
||||||
use flake
|
use flake
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue