mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
nix: use mkPackageOption
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
@@ -157,13 +157,9 @@ in
|
||||
visible = false;
|
||||
};
|
||||
|
||||
package = mkOption {
|
||||
type = types.nullOr types.package;
|
||||
package = lib.mkPackageOption pkgs "nix" {
|
||||
default = null;
|
||||
example = literalExpression "pkgs.nix";
|
||||
description = ''
|
||||
The Nix package that the configuration should be generated for.
|
||||
'';
|
||||
nullable = true;
|
||||
};
|
||||
|
||||
nixPath = mkOption {
|
||||
|
||||
Reference in New Issue
Block a user