1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01: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 { }; tomlFormat = pkgs.formats.toml { };
in { in
{
imports = [ imports = [
(mkRenamedOptionModule [ (mkRenamedOptionModule [
"programs" "programs"
@ -88,9 +89,14 @@ in {
}; };
nix-direnv = { nix-direnv = {
enable = mkEnableOption '' enable = mkOption {
[nix-direnv](https://github.com/nix-community/nix-direnv), default = true;
a fast, persistent use_nix implementation for direnv''; 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" { }; package = mkPackageOption pkgs "nix-direnv" { };
}; };