home: direnv: update to new option name
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
And enable the flakes option. I don't actually use this on my own projects, but it could be useful for other projects that I contribute to.
This commit is contained in:
parent
ff8e64d601
commit
ea7b064546
|
@ -9,7 +9,11 @@ in
|
||||||
|
|
||||||
config.programs.direnv = lib.mkIf cfg.enable {
|
config.programs.direnv = lib.mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
nix-direnv = {
|
||||||
# A better `use_nix`
|
# A better `use_nix`
|
||||||
enableNixDirenvIntegration = true;
|
enable = true;
|
||||||
|
# And `use_flake`
|
||||||
|
enableFlakes = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue