From 7ccfca6683951b0668ce64883043f8e365bdb921 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Fri, 5 Apr 2024 21:56:00 +0000 Subject: [PATCH] experiment with grub --- modules/flake-parts/tfgrid-microvm/default.nix | 2 +- modules/flake-parts/tfgrid-microvm/mk-zos-vm-dir.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/flake-parts/tfgrid-microvm/default.nix b/modules/flake-parts/tfgrid-microvm/default.nix index d079c753..946017b1 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 = false; + boot.loader.grub.enable = true; 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 66388eaf..510ace24 100644 --- a/modules/flake-parts/tfgrid-microvm/mk-zos-vm-dir.nix +++ b/modules/flake-parts/tfgrid-microvm/mk-zos-vm-dir.nix @@ -32,6 +32,7 @@ in pkgs.stdenvNoCC + # TODO: find out why `systemctl reboot dbus` is needed to make `nixos-rebuild` work # these are also needed on the target for nixos-rebuild to work # pkgs.path # config.system.build.toplevel.drvPath