Files
nix-config/outputs/x86_64-linux/tests/computer-use-headless/expected.nix
T
Ryan Yin 00aab5f562 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.
2026-09-21 21:31:27 +08:00

23 lines
323 B
Nix

{
myvars,
lib,
}:
let
hosts = [
"ruby"
"kana"
];
in
lib.genAttrs hosts (name: {
computerUse = true;
atspi = true;
clashVerge = true;
timeZone = "America/Los_Angeles";
xvfbRestart = "always";
i3Restart = "always";
vnc = true;
cuaDriver = name == "ruby";
brave = true;
chromium = true;
})