mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-04 08:01:02 +01:00
nix: use mkPackageOption
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
04d0a00132
commit
6d38c711b6
1 changed files with 2 additions and 6 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue