feat(computer-use): add a headless X11/i3 environment

Give the idols-ruby and idols-kana VMs a headless computer-use
environment: Xvfb plus i3, driven by cua-driver (and computer-use-linux
as a fallback). Includes the system module (AT-SPI, fonts, Mesa, Clash
Verge proxy, proxy-region timezone), the home i3 module (Xvfb/i3/x11vnc
services, browser flags), host wiring and an eval test.
This commit is contained in:
Ryan Yin committed 2026-09-21 21:31:27 +08:00
1 parent 90761a6b73
commit 00aab5f562
11 files changed
+316 -2

No files matched your search

+9 -1
View File
@@ -1,3 +1,11 @@
{
imports = [ ../../linux/core.nix ];
imports = [
../../linux/core.nix
../../linux/gui/i3
];
# Headless X11/i3 session for computer use.
modules.desktop.computerUse.enable = true;
# localhost-only VNC server for manual access (use an SSH tunnel).
modules.desktop.computerUse.vnc = true;
}
+11 -1
View File
@@ -1,3 +1,13 @@
{
imports = [ ../../linux/core.nix ];
imports = [
../../linux/core.nix
../../linux/gui/i3
];
# Headless X11/i3 session for computer use.
modules.desktop.computerUse.enable = true;
# localhost-only VNC server for manual access (use an SSH tunnel).
modules.desktop.computerUse.vnc = true;
# trycua/cua driver, grey-tested on ruby only.
modules.desktop.computerUse.cuaDriver = true;
}