summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-21 14:20:01 +0000
committertv <tv@krebsco.de>2026-11-21 14:20:01 +0000
commit0030f5807a9c583ed575cee537f27e6edc25f5cd (patch)
tree4f577328a4e54d62aaeb5c62c50edb2be770f170
parent2cfaf0b34f58253c816fe9e09e81168f9e3c2ee1 (diff)
configs/claude: sessions named after their remote
Remote Control names the sessions it creates after the host, by default, which all remotes share. Now it names them after the remote (CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX), NAME-...
-rw-r--r--configs/claude.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/claude.nix b/configs/claude.nix
index 6cb2405..e4fde84 100644
--- a/configs/claude.nix
+++ b/configs/claude.nix
@@ -128,6 +128,9 @@ in
DISABLE_ERROR_REPORTING = "1";
# The claude.ai account's connectors, via mcp-proxy.anthropic.com.
ENABLE_CLAUDEAI_MCP_SERVERS = "false";
+ # Sessions named after the remote (NAME-...), rather than after the
+ # host, which they all share.
+ CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX = "%i";
};
serviceConfig = {
Type = "forking";