diff --git a/modules/misc/nix.nix b/modules/misc/nix.nix index cc569c68d..b418f37fb 100644 --- a/modules/misc/nix.nix +++ b/modules/misc/nix.nix @@ -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 {