From 6d38c711b6fcfab6278b68e8449894425617d960 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 22 Nov 2025 14:02:46 -0600 Subject: [PATCH] nix: use mkPackageOption Signed-off-by: Austin Horstman --- modules/misc/nix.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 {