direnv: update envrc

pull/54/head
teutat3s 2022-04-30 15:58:00 +02:00
parent 4e9786442b
commit 6f2c137c06
Signed by: teutat3s
GPG Key ID: 4FA1D3FA524F22C1
1 changed files with 2 additions and 9 deletions

11
.envrc
View File

@ -1,10 +1,3 @@
# reload when these files change
watch_file flake.nix
watch_file shell.nix
{
# shell gc root dir
mkdir -p "$(direnv_layout_dir)"
eval "$(nix print-dev-env --profile $(direnv_layout_dir)/flake-profile)"
} || use nix
watch_file shell/* flake.nix
use flake || use nix