I am fairly new to NixOS and have been trying to set up 20.03 in a VM. However, I am unable to change the resolution. If I change it using Arandr, the resolution changes for half a second and the screen flashes before going back to 1024x768.
I tried setting
services.qemuGuest.enable=true; in my config file, however that didn’t help.
The host OS is openSUSE Tumbleweed and I tried using Virt-Manager and Gnome-Boxes. However, I am thinking it is an issue with the NixOS VM, and not the host since changing the resolution is fine on other VMs.