1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

direnv: enable nix-direnv by default

Makes direnv together with nix fast by default.
This commit is contained in:
Jan Lafferton 2024-08-03 23:13:46 +02:00
parent afc892db74
commit 4eeae4423f

View file

@ -8,7 +8,8 @@ let
tomlFormat = pkgs.formats.toml { };
in {
in
{
imports = [
(mkRenamedOptionModule [
"programs"
@ -88,9 +89,14 @@ in {
};
nix-direnv = {
enable = mkEnableOption ''
[nix-direnv](https://github.com/nix-community/nix-direnv),
a fast, persistent use_nix implementation for direnv'';
enable = mkOption {
default = true;
type = types.bool;
description = ''
[nix-direnv](https://github.com/nix-community/nix-direnv),
a fast, persistent use_nix implementation for direnv
'';
};
package = mkPackageOption pkgs "nix-direnv" { };
};