image.nix: feed bug where enable flag wasnt actually being read
This commit is contained in:
@@ -79,7 +79,9 @@ in
|
|||||||
"ext4" = pkgs.imageBuilder.fileSystem.makeExt4;
|
"ext4" = pkgs.imageBuilder.fileSystem.makeExt4;
|
||||||
"btrfs" = pkgs.imageBuilder.fileSystem.makeBtrfs;
|
"btrfs" = pkgs.imageBuilder.fileSystem.makeBtrfs;
|
||||||
};
|
};
|
||||||
in {
|
in
|
||||||
|
lib.mkIf cfg.enable
|
||||||
|
{
|
||||||
system.build.img-without-firmware = with pkgs; imageBuilder.diskImage.makeGPT {
|
system.build.img-without-firmware = with pkgs; imageBuilder.diskImage.makeGPT {
|
||||||
name = "nixos";
|
name = "nixos";
|
||||||
diskID = vfatUuidFromFs bootFs;
|
diskID = vfatUuidFromFs bootFs;
|
||||||
|
Reference in New Issue
Block a user