summaryrefslogtreecommitdiffstats
path: root/configs/claude.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-21 14:21:57 +0000
committertv <tv@krebsco.de>2026-11-21 14:21:57 +0000
commit8998ef08f918b726762cbe6f7f4101d64ba8aefa (patch)
tree02c65bf539d7c0935eddb0d8c16e0779caa1dbd4 /configs/claude.nix
parent0e9becdfccd96009464ea8acd36f88d27b8616f4 (diff)
configs/claude: the system's packages in the remotes' PATH
The remotes' PATH had only the packages of the service's path, so fc-egress, claude-remote, and anything else installed system-wide weren't there. Now /run/current-system/sw comes after them. claude's own packages stay the service's (packages, that is, not that string).
Diffstat (limited to 'configs/claude.nix')
-rw-r--r--configs/claude.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/claude.nix b/configs/claude.nix
index 05583a9..03e4acd 100644
--- a/configs/claude.nix
+++ b/configs/claude.nix
@@ -68,7 +68,7 @@ in
home = "/home/claude";
# /home is mounted after users get created, see tmpfiles below.
createHome = false;
- packages = config.systemd.services."claude-remote-control@".path;
+ packages = lib.filter lib.isDerivation config.systemd.services."claude-remote-control@".path;
};
systemd.tmpfiles.rules = [
"d /home/claude 0700 claude users -"
@@ -114,6 +114,8 @@ in
pkgs.gnugrep
pkgs.gnused
pkgs.ripgrep
+ # And, after these, the system's, like fc-egress or claude-remote.
+ "/run/current-system/sw"
];
environment = {
# Telemetry and error reports go to Datadog. Unlike