summaryrefslogtreecommitdiffstats
path: root/configs/claude.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configs/claude.nix')
-rw-r--r--configs/claude.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/configs/claude.nix b/configs/claude.nix
index 0cbc1ae..dbea0de 100644
--- a/configs/claude.nix
+++ b/configs/claude.nix
@@ -151,9 +151,6 @@ 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";
@@ -187,7 +184,9 @@ in
# As root (+), stateDir being root's.
"+${remember} %i"
];
- ExecStart = "${tmux "%i"} new-session -d -s claude -c /home/claude/remotes/%i ${lib.getExe pkgs.claude-code} remote-control";
+ # --name: its session named after the remote, rather than after the
+ # host, which they all share.
+ ExecStart = "${tmux "%i"} new-session -d -s claude -c /home/claude/remotes/%i ${lib.getExe pkgs.claude-code} remote-control --name %i";
ExecStopPost = "+${forget} %i";
Restart = "always";
RestartSec = 10;