modules/image: remove extraneous sane.image.enable option
This commit is contained in:
parent
e104499636
commit
1dd10450f2
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user