os/.envrc

11 lines
223 B
Plaintext
Raw Normal View History

2022-01-19 00:13:15 +00:00
# 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