nix-community.nixvim/.envrc
Alexander Nortung 2c333c86d0
Added nix check and pre commit hook for formatting (#220)
* Added nix check and pre commit hook for formatting

* Removed nix fmt check from CI
2023-03-06 15:06:16 +00:00

7 lines
151 B
Bash

use_flake() {
watch_file flake.nix
watch_file flake.lock
eval "$(nix print-dev-env --profile "$(direnv_layout_dir)/flake-profile")"
}
use flake