feat: improve video configuration for VM and Live ISO
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user