home: direnv: update to new option name
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:
Bruno BELANYI 2021-06-27 00:54:55 +02:00
parent ff8e64d601
commit ea7b064546

View file

@ -9,7 +9,11 @@ in
config.programs.direnv = lib.mkIf cfg.enable { config.programs.direnv = lib.mkIf cfg.enable {
enable = true; enable = true;
# A better `use_nix` nix-direnv = {
enableNixDirenvIntegration = true; # A better `use_nix`
enable = true;
# And `use_flake`
enableFlakes = true;
};
}; };
} }