nix-direnv: use flake-aware version 2.0.0
This commit is contained in:
parent
2f38edecf7
commit
8e2037ef4a
19
.envrc
19
.envrc
|
@ -1,10 +1,13 @@
|
||||||
# reload when these files change
|
# reload when these files change
|
||||||
watch_file flake.nix
|
watch_file shell/* flake.nix
|
||||||
watch_file shell.nix
|
use flake || use nix
|
||||||
|
|
||||||
{
|
#watch_file flake.nix
|
||||||
# shell gc root dir
|
#watch_file shell.nix
|
||||||
mkdir -p "$(direnv_layout_dir)"
|
#
|
||||||
|
#{
|
||||||
eval "$(nix print-dev-env --profile $(direnv_layout_dir)/flake-profile)"
|
# # shell gc root dir
|
||||||
} || use nix
|
# mkdir -p "$(direnv_layout_dir)"
|
||||||
|
#
|
||||||
|
# eval "$(nix print-dev-env --profile $(direnv_layout_dir)/flake-profile)"
|
||||||
|
#} || use nix
|
||||||
|
|
|
@ -26,6 +26,7 @@ channels: final: prev: {
|
||||||
obs-studio
|
obs-studio
|
||||||
obs-studio-plugins
|
obs-studio-plugins
|
||||||
looking-glass-client
|
looking-glass-client
|
||||||
|
nix-direnv
|
||||||
vimPlugins
|
vimPlugins
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue