Display Scaling with NixOS as QEMU/KVM guest

My goal is to switch to NixOS from Arch. For now, i have successfully installed NixOS in virt-manager, but am struggling with dynamic Display Scaling. I‘m aware of the xorg.xf86videoqxl-Package and have configured it like:

services.xserver.videoDrivers = [ "qxl" ];

But when i do so, xorg just shows the startpage of the displaymanager but doesn‘t react in any way.

The faulty config can be found here and this is the Xorg-logfile.

Can somebody help me out here?

1 Like

So, the ultimate issue was, that the QEMU-client needed SPICE to function correctly. This was resolved by installing spice-vdagent and setting services.spice-vdagentd.enable = true;. However now there is no Xorg-logfile created and i don’t know why this is.

Can anyone tell me, why this is?

1 Like