mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
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)
This commit is contained in:
1 parent
d8b298019a
commit
ff7102d75b
7 files changed
+16
-21
No files matched your search
@@ -7,4 +7,6 @@
|
||||
modules.desktop.computerUse.enable = true;
|
||||
# localhost-only VNC server for manual access (use an SSH tunnel).
|
||||
modules.desktop.computerUse.vnc = true;
|
||||
# trycua/cua driver.
|
||||
modules.desktop.computerUse.cuaDriver = true;
|
||||
}
|
||||
@@ -7,6 +7,6 @@
|
||||
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.
|
||||
# trycua/cua driver.
|
||||
modules.desktop.computerUse.cuaDriver = true;
|
||||
}
|
||||
@@ -54,11 +54,6 @@ let
|
||||
DBUS_SESSION_BUS_ADDRESS="unix:path=''${XDG_RUNTIME_DIR}/bus" \
|
||||
${pkgs.glib.bin}/bin/gsettings set org.gnome.desktop.interface toolkit-accessibility true \
|
||||
>/dev/null 2>&1 || true
|
||||
|
||||
${lib.optionalString cfg.cuaDriver ''
|
||||
# cua-driver sends content-free telemetry by default; turn it off.
|
||||
${pkgs.cua-driver}/bin/cua-driver telemetry disable >/dev/null 2>&1 || true
|
||||
''}
|
||||
'';
|
||||
in
|
||||
{
|
||||
@@ -201,6 +196,9 @@ in
|
||||
"DISPLAY=${display}"
|
||||
"XDG_SESSION_TYPE=x11"
|
||||
];
|
||||
# cua-driver sends content-free telemetry by default. Do this before
|
||||
# the daemon starts so activation does not depend on the i3 session.
|
||||
ExecStartPre = "${pkgs.cua-driver}/bin/cua-driver telemetry disable";
|
||||
ExecStart = "${pkgs.cua-driver}/bin/cua-driver serve";
|
||||
Restart = "always";
|
||||
RestartSec = 2;
|
||||
|
||||
Reference in new issue
Block a user