Files
nix-config/outputs/x86_64-linux/tests/computer-use-headless/expr.nix
T
ryan4yin | 二花 ff7102d75b feat(agents): align ruby and kana computer-use support (#514)
* feat(agents): align ruby and kana computer-use support

Assisted-by: DeepSeek Harness (deepseek-flash)

* test(agents): keep one full-host test for ruby and kana

Both guests run the same agent configuration, so a second full-host test
does not add coverage.

Assisted-by: DeepSeek Harness (deepseek-flash)

* fix(computer-use): disable cua-driver telemetry before start

The i3 init hook did not reliably disable the default-on setting, so both
hosts could start the daemon with telemetry enabled.

Assisted-by: DeepSeek Harness (deepseek-flash)
2026-11-03 23:08:51 +08:00

39 lines
1.0 KiB
Nix

{
myvars,
lib,
outputs,
}:
let
username = myvars.username;
hosts = [
"ruby"
"kana"
];
in
lib.genAttrs hosts (
name:
let
system = outputs.nixosConfigurations.${name}.config;
home = system.home-manager.users.${username};
in
{
computerUse = system.modules.desktop.computerUse.enable;
atspi = system.services.gnome.at-spi2-core.enable;
mihomo = system.services.mihomo.enable;
timeZone = system.time.timeZone;
xvfbRestart = home.systemd.user.services.xvfb.Service.Restart;
i3Restart = home.systemd.user.services.i3.Service.Restart;
vnc = home.modules.desktop.computerUse.vnc;
clipboardSync = lib.all (svc: lib.hasAttr svc home.systemd.user.services) [
"autocutsel-primary"
"autocutsel-clipboard"
];
cuaDriver = home.modules.desktop.computerUse.cuaDriver;
cuaTelemetryDisabled = lib.hasInfix "telemetry disable" (
home.systemd.user.services.cua-driver.Service.ExecStartPre
);
brave = home.programs.brave-origin.enable;
chromium = home.programs.chromium.enable;
}
)