1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-04 16:11:06 +01:00

nix: use mkPackageOption

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-11-22 14:02:46 -06:00
parent 04d0a00132
commit 6d38c711b6

View file

@ -157,13 +157,9 @@ in
visible = false; visible = false;
}; };
package = mkOption { package = lib.mkPackageOption pkgs "nix" {
type = types.nullOr types.package;
default = null; default = null;
example = literalExpression "pkgs.nix"; nullable = true;
description = ''
The Nix package that the configuration should be generated for.
'';
}; };
nixPath = mkOption { nixPath = mkOption {