diff --git a/templates/flake-parts/.envrc b/templates/flake-parts/.envrc index 9a651c991..2e269e0e8 100644 --- a/templates/flake-parts/.envrc +++ b/templates/flake-parts/.envrc @@ -2,9 +2,8 @@ if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs=" fi -nix_direnv_watch_file devenv.nix -nix_direnv_watch_file devenv.lock -nix_direnv_watch_file devenv.yaml +nix_direnv_watch_file flake.nix +nix_direnv_watch_file flake.lock if ! use flake . --override-input devenv-root "file+file://"<(printf %s "$PWD") then