virtualisation: enable on desktop and nas

This commit is contained in:
2023-01-17 17:04:18 +01:00
parent c7304a3b2d
commit 3a040c7336
3 changed files with 6 additions and 5 deletions

View File

@@ -18,9 +18,10 @@
enable = true; # Virtual drivers
#qemuPackage = pkgs.qemu_kvm; # Default
qemu = {
verbatimConfig = ''
nvram = [ "${pkgs.OVMF}/FV/OVMF.fd:${pkgs.OVMF}/FV/OVMF_VARS.fd" ]
'';
runAsRoot = false;
# verbatimConfig = ''
# nvram = [ "${pkgs.OVMF}/FV/OVMF.fd:${pkgs.OVMF}/FV/OVMF_VARS.fd" ]
# '';
};
};
spiceUSBRedirection.enable = true; # USB passthrough