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;
|
||||
};
|
||||
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue