From 67820bb649a56f14dc74c99e76ce962f0f1f9129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 26 Apr 2025 18:22:51 +0200 Subject: [PATCH] fix(envrc): watch relevant flake-modules files Otherwise direnv doesn't work. --- .envrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.envrc b/.envrc index 49bacf7..e483044 100644 --- a/.envrc +++ b/.envrc @@ -1,10 +1,11 @@ # update repo if has jj; then - jj git fetch --all-remotes + jj git fetch --all-remotes elif has gix; then - gix fetch + gix fetch elif has git; then - git fetch + git fetch fi +watch_file ./flake.{nix,lock} ./flake-modules/{default,devshells,overlays,nixvim-modules}.nix use flake