Fix efi mount point for VMs
This commit is contained in:
parent
cf051abbdf
commit
690b33bd08
1 changed files with 10 additions and 0 deletions
|
@ -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 =
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue