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