Skip to content

Commit

Permalink
WIP: try to get nixos-rebuild working in the VM
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Apr 5, 2024
1 parent 4d346e7 commit 7d5a60f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/flake-parts/tfgrid-microvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
5 changes: 5 additions & 0 deletions modules/flake-parts/tfgrid-microvm/mk-zos-vm-dir.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
}

0 comments on commit 7d5a60f

Please sign in to comment.