nix: add 'direnv' integration
This commit is contained in:
parent
4ceeb5e4fe
commit
a58f712181
1 changed files with 7 additions and 0 deletions
7
.envrc
Normal file
7
.envrc
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
use_flake() {
|
||||
watch_file flake.nix
|
||||
watch_file flake.lock
|
||||
eval "$(nix print-dev-env)"
|
||||
}
|
||||
|
||||
use flake
|
||||
Loading…
Add table
Add a link
Reference in a new issue