feat: improve video configuration for VM and Live ISO

This commit is contained in:
Bernardo Magri
2026-04-13 13:05:59 +01:00
parent 8e4e801244
commit 66096cbc46
7 changed files with 23 additions and 2 deletions

View File

@@ -7,6 +7,11 @@
virtualisation.qemu.options = [ "-device" "virtio-vga" ];
};
# Improve VM resolution and guest experience
services.spice-vdagentd.enable = true;
services.qemuGuest.enable = true;
services.xserver.videoDrivers = [ "qxl" "virtio" "modesetting" ];
# Dummy hardware config for VM
fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-label/nixos"; };
boot.loader.grub.device = lib.mkDefault "/dev/vda";