Fix efi mount point for VMs

This commit is contained in:
Manuel Thalmann 2024-05-01 00:40:00 +02:00
parent cf051abbdf
commit 690b33bd08

View file

@ -9,6 +9,16 @@
}; };
config = { config = {
virtualisation =
let
vmConfig = {
boot.loader.efi.efiSysMountPoint = lib.mkVMOverride "/boot";
};
in {
vmVariant = vmConfig;
vmVariantWithBootLoader = vmConfig;
};
# Replace native `qemu` with `remote-viewer` # Replace native `qemu` with `remote-viewer`
system.build = system.build =
{ {