templates: simplify direnv configurations
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This was mostly a copy-paste error (the `watch_file` calls).

As for the shell hooks, it looks like `nix-direnv` takes care of that
automatically.
This commit is contained in:
Bruno BELANYI 2023-10-12 13:47:01 +00:00
parent e09899d59c
commit aca743dea7
2 changed files with 0 additions and 10 deletions

View file

@ -3,8 +3,3 @@ if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
fi
use flake
watch_file ./flake/checks.nix
watch_file ./flake/dev-shells.nix
eval "$shellHooks"

View file

@ -3,8 +3,3 @@ if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
fi
use flake
watch_file ./flake/checks.nix
watch_file ./flake/dev-shells.nix
eval "$shellHooks"