vmix.nix/nixos
Git Sagar b7838f5501 vms/windows: keep RDP VMs awake -- disable sleep in guest, fix the qemu global
An idle Windows VM was suspending itself off the network after 15 min:
the Balanced power plan sleeps on idle, and the qemu S3/S4 disable was a
no-op -- `-global ICH9-LMB.disable_s3` is the wrong device class (q35's
bridge is ICH9-LPC), which qemu rejected as "invalid class name", so the
sleep states stayed on offer.

Fix both ends: correct the global to ICH9-LPC so the firmware stops
advertising S3/S4, and in post-oobe (any enableRDP image) switch to the
High Performance scheme, zero the standby/hibernate/monitor idle timeouts
and turn hibernate off -- a machine exposed as a service must not sleep.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117qMyjpuXsjpVAcpJbFD8g
2026-09-18 10:39:49 -03:00
..
networks fix: race in parallel wan veth creation cross-wiring namespaces 2026-07-23 20:23:54 -03:00
vms vms/windows: keep RDP VMs awake -- disable sleep in guest, fix the qemu global 2026-09-18 10:39:49 -03:00
default.nix fix: use vmix's own locked nixpkgs for all image building 2026-06-15 10:04:52 -03:00
namespaceSubmoduleOptions.nix sync with labv2.nix + standalone flake with toDisk app 2026-05-23 19:18:10 -03:00