fix: disable zram on yolo, use aoe-with-web

zram wedged shutdown faulting stored pages back in, and the VM already
has a real swap partition. aoe-with-web is the same binary plus `serve`.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
naps62
2026-08-17 08:12:48 +00:00
parent 4bea767b2e
commit 352b87192d
2 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -6,7 +6,9 @@
# Agent of Empires: the agent session manager. Import this on any host that # Agent of Empires: the agent session manager. Import this on any host that
# wants it — it brings both the package and the shared settings. # wants it — it brings both the package and the shared settings.
{ {
home.packages = [ inputs.agent-of-empires.packages.${pkgs.system}.default ]; # aoe-with-web, not default: same single `aoe` binary plus the `serve`
# subcommand (web dashboard). The default build has no `serve` at all.
home.packages = [ inputs.agent-of-empires.packages.${pkgs.system}.aoe-with-web ];
# mutableFiles, not xdg.configFile: aoe rewrites this file itself (it keeps # mutableFiles, not xdg.configFile: aoe rewrites this file itself (it keeps
# .bak-<epoch> copies), so a read-only store symlink would break it. The copy # .bak-<epoch> copies), so a read-only store symlink would break it. The copy
+5
View File
@@ -26,6 +26,11 @@
# virtio drivers; the agent itself is a separate service. # virtio drivers; the agent itself is a separate service.
services.qemuGuest.enable = true; services.qemuGuest.enable = true;
# Hung shutdown waiting on systemd-zram-setup@zram0: deactivating zram swap
# has to fault every stored page back into RAM first. Redundant here anyway —
# this VM has a real 8G swap partition, and the host manages its own memory.
zramSwap.enable = lib.mkForce false;
# The only out-of-band way in. `vga: virtio-gl` renders through a GL context # The only out-of-band way in. `vga: virtio-gl` renders through a GL context
# with no QEMU console surface, so noVNC and screendump both go dark; this # with no QEMU console surface, so noVNC and screendump both go dark; this
# pairs with the VM's serial0 socket to keep `qm terminal` working. Listed # pairs with the VM's serial0 socket to keep `qm terminal` working. Listed