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";
modules = [
(
{ config, pkgs, ... }: {
{ config, pkgs, lib, ... }: {
imports = [
machineConfig
];
@ -22,6 +22,8 @@
virtualisation =
let
config = {
boot.loader.efi.efiSysMountPoint = lib.mkVMOverride "/boot";
virtualisation.qemu.options = [
"-display sdl"
];