nix: simplify direnv integration
All checks were successful
ci/woodpecker/push/deploy/2 Pipeline was successful
ci/woodpecker/cron/deploy/2 Pipeline was successful

This commit is contained in:
Bruno BELANYI 2024-11-13 18:20:07 +00:00
parent bba7a1e7d2
commit 4f7ac42b3d

7
.envrc
View file

@ -1,8 +1 @@
use_flake() {
watch_file flake.nix
watch_file flake.lock
eval "$(nix print-dev-env)"
}
use flake
eval "$shellHooks"