diff --git a/modules/flake-parts/tfgrid-microvm/default.nix b/modules/flake-parts/tfgrid-microvm/default.nix index 946017b1..d079c753 100644 --- a/modules/flake-parts/tfgrid-microvm/default.nix +++ b/modules/flake-parts/tfgrid-microvm/default.nix @@ -32,7 +32,7 @@ in { "virtio_mmio" ]; - boot.loader.grub.enable = true; + boot.loader.grub.enable = false; boot.initrd.systemd.enable = false; boot.loader.grub.device = "nodev"; diff --git a/modules/flake-parts/tfgrid-microvm/mk-zos-vm-dir.nix b/modules/flake-parts/tfgrid-microvm/mk-zos-vm-dir.nix index 62d00c5d..66388eaf 100644 --- a/modules/flake-parts/tfgrid-microvm/mk-zos-vm-dir.nix +++ b/modules/flake-parts/tfgrid-microvm/mk-zos-vm-dir.nix @@ -30,5 +30,10 @@ in storeContents = pkgs2storeContents [ config.system.build.toplevel pkgs.stdenvNoCC + + + # these are also needed on the target for nixos-rebuild to work + # pkgs.path + # config.system.build.toplevel.drvPath ]; }