Fix ESP path for vms with bootloader
This commit is contained in:
parent
d5023ed7ad
commit
47a2d4d359
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue