fix(live): enable VM guest agents so Hyprland boots at full resolution
The nomarchy-live ISO imported ./core and hosts/nomarchy-live.nix but not core/system/vm-guest.nix, which is the only place spice-vdagentd/qemuGuest were enabled. Without those agents a VM's virtio-gpu only advertises its 1024x768 fallback mode, so Hyprland's `monitor = , highres, auto` rule picks that as the highest mode and the live session boots tiny. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user