1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00
This commit is contained in:
Shivaraj B H 2025-03-27 19:28:00 +07:00 committed by GitHub
commit 5eef4ee889
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = {