Skip to content

Commit ab842f8

Browse files
authored
nixos/amazon-image: fix eval (#378799)
2 parents e19fa2f + c0e2fbb commit ab842f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nixos/modules/virtualisation/amazon-image.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ in
2828

2929
boot.growPartition = true;
3030

31-
fileSystems."/" = mkIf (!cfg.zfs.enable) lib.mkDefault {
31+
fileSystems."/" = mkIf (!cfg.zfs.enable) (lib.mkDefault {
3232
device = "/dev/disk/by-label/nixos";
3333
fsType = "ext4";
3434
autoResize = true;
35-
};
35+
});
3636

37-
fileSystems."/boot" = mkIf (cfg.efi || cfg.zfs.enable) lib.mkDefault {
37+
fileSystems."/boot" = mkIf (cfg.efi || cfg.zfs.enable) (lib.mkDefault {
3838
# The ZFS image uses a partition labeled ESP whether or not we're
3939
# booting with EFI.
4040
device = "/dev/disk/by-label/ESP";
4141
fsType = "vfat";
42-
};
42+
});
4343

4444
services.zfs.expandOnBoot = mkIf cfg.zfs.enable "all";
4545

0 commit comments

Comments
 (0)