Fix ESP path for vms with bootloader

This commit is contained in:
Manuel Thalmann 2024-04-09 23:10:46 +02:00
parent d5023ed7ad
commit 47a2d4d359

View file

@ -14,7 +14,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
( (
{ config, pkgs, ... }: { { config, pkgs, lib, ... }: {
imports = [ imports = [
machineConfig machineConfig
]; ];
@ -22,6 +22,8 @@
virtualisation = virtualisation =
let let
config = { config = {
boot.loader.efi.efiSysMountPoint = lib.mkVMOverride "/boot";
virtualisation.qemu.options = [ virtualisation.qemu.options = [
"-display sdl" "-display sdl"
]; ];