mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
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.
14 lines
371 B
Nix
14 lines
371 B
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;
|
|
}
|