nix: simplify direnv integration
Rely on my having installed `nix-direnv`.
This commit is contained in:
parent
741bb33544
commit
13dd7b4346
1 changed files with 0 additions and 6 deletions
6
.envrc
6
.envrc
|
|
@ -1,7 +1 @@
|
||||||
use_flake() {
|
|
||||||
watch_file flake.nix
|
|
||||||
watch_file flake.lock
|
|
||||||
eval "$(nix print-dev-env)"
|
|
||||||
}
|
|
||||||
|
|
||||||
use flake
|
use flake
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue