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:
parent
afc892db74
commit
4eeae4423f
1 changed files with 10 additions and 4 deletions
|
@ -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" { };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue