From 1dd10450f2b88e67097c272896a072fd449c9aa7 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 7 Jun 2024 07:42:47 +0000 Subject: [PATCH] modules/image: remove extraneous sane.image.enable option --- modules/image.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/image.nix b/modules/image.nix index 7765b029..b7ee000f 100644 --- a/modules/image.nix +++ b/modules/image.nix @@ -17,12 +17,6 @@ let in { options = { - sane.image.enable = mkOption { - # TODO: why is this enable option even needed? - default = true; - type = types.bool; - description = "whether to enable image targets. even so they won't be built unless you specifically reference the `system.build.img` target."; - }; # packages whose contents should be copied directly into the /boot partition. # e.g. EFI loaders, u-boot bootloader, etc. sane.image.extraBootFiles = mkOption { @@ -195,7 +189,6 @@ in }; }; in - lib.mkIf cfg.enable { system.build.img = pkgs.runCommandLocal "nixos-with-bootloader" { passthru = {