mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-31 04:04:32 +00:00
Merge f0f765e96e
into 693840c01b
This commit is contained in:
commit
5eef4ee889
1 changed files with 11 additions and 1 deletions
|
@ -80,7 +80,17 @@ in {
|
|||
[nix-direnv](https://github.com/nix-community/nix-direnv),
|
||||
a fast, persistent use_nix implementation for direnv'';
|
||||
|
||||
package = mkPackageOption pkgs "nix-direnv" { };
|
||||
package = mkOption {
|
||||
default = pkgs.nix-direnv.override {
|
||||
nix =
|
||||
if config.nix.package == null then pkgs.nix else config.nix.package;
|
||||
};
|
||||
defaultText = "pkgs.nix-direnv";
|
||||
type = types.package;
|
||||
description = ''
|
||||
The nix-direnv package to use
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
mise = {
|
||||
|
|
Loading…
Add table
Reference in a new issue