diff --git a/hosts/nomarchy-live.nix b/hosts/nomarchy-live.nix index 4eb8a25..bbda20c 100644 --- a/hosts/nomarchy-live.nix +++ b/hosts/nomarchy-live.nix @@ -49,6 +49,14 @@ ]; services.xserver.videoDrivers = [ "amdgpu" "radeon" "nouveau" "modesetting" "fbdev" "virtio" ]; + # VM guest agents. Without these the virtio-gpu connector only advertises + # its 1024x768 fallback mode, so Hyprland's `monitor = , highres, …` rule + # picks that as the highest available resolution and the live session boots + # tiny. The agents let the SPICE/QEMU host negotiate a real resolution. + # (The installed system gets the same wiring via core/system/vm-guest.nix.) + services.spice-vdagentd.enable = true; + services.qemuGuest.enable = true; + environment.etc."install.sh" = { source = ../installer/install.sh; mode = "0755";