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