We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e19fa2f + c0e2fbb commit ab842f8Copy full SHA for ab842f8
nixos/modules/virtualisation/amazon-image.nix
@@ -28,18 +28,18 @@ in
28
29
boot.growPartition = true;
30
31
- fileSystems."/" = mkIf (!cfg.zfs.enable) lib.mkDefault {
+ fileSystems."/" = mkIf (!cfg.zfs.enable) (lib.mkDefault {
32
device = "/dev/disk/by-label/nixos";
33
fsType = "ext4";
34
autoResize = true;
35
- };
+ });
36
37
- fileSystems."/boot" = mkIf (cfg.efi || cfg.zfs.enable) lib.mkDefault {
+ fileSystems."/boot" = mkIf (cfg.efi || cfg.zfs.enable) (lib.mkDefault {
38
# The ZFS image uses a partition labeled ESP whether or not we're
39
# booting with EFI.
40
device = "/dev/disk/by-label/ESP";
41
fsType = "vfat";
42
43
44
services.zfs.expandOnBoot = mkIf cfg.zfs.enable "all";
45
0 commit comments