From 6d69feb35edd13edaf7496d460e46ad36e63ed36 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Wed, 15 Nov 2023 17:29:57 -0800 Subject: [PATCH] google-compute-image: add the missing /boot filesystem --- nixos/modules/virtualisation/google-compute-image.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix index dcdd1b59eef5..e4a18fd81d71 100644 --- a/nixos/modules/virtualisation/google-compute-image.nix +++ b/nixos/modules/virtualisation/google-compute-image.nix @@ -56,6 +56,11 @@ in efiInstallAsRemovable = true; }; + fileSystems."/boot" = mkIf cfg.efi { + device = "/dev/disk/by-label/ESP"; + fsType = "vfat"; + }; + system.build.googleComputeImage = import ../../lib/make-disk-image.nix { name = "google-compute-image"; postVM = ''