-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnodes.conf.example
More file actions
29 lines (26 loc) · 1.29 KB
/
Copy pathnodes.conf.example
File metadata and controls
29 lines (26 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# cactus-cc-sync nodes config
#
# Copy this file to `nodes.conf` (in the same directory) and edit:
# cp nodes.conf.example nodes.conf
# $EDITOR nodes.conf
#
# NODES: space-separated list of <username>@<short-hostname> entries.
# - Hostnames matched case-insensitively to `hostname -s`.
# - SSH connects via "<hostname>.local" by default (mDNS).
# - Same username across all machines is the simple/common case.
NODES="alice@laptop alice@desktop bob@studio"
# Optional. CANONICAL_USER:
# Set this when machines have different usernames but you want their memory
# to share the same namespace (e.g. you log in as alice on two laptops and as
# bob on a workstation but think of all three as "alice's setup").
#
# When set + your local SELF_USER differs from CANONICAL_USER, sync.sh:
# 1) Symlinks ~/.claude/projects/-Users-<SELF_USER>/memory ->
# ~/.claude/projects/-Users-<CANONICAL_USER>/memory
# so your local Claude sessions auto-load the canonical memory dir.
# 2) Path-rewrites memory dirs across the wire so each machine's physical
# paths stay matched to its own whoami while content stays unified.
#
# Leave CANONICAL_USER unset (or equal to your username on every machine)
# for the simple "same username everywhere" case — sync still works fine.
# CANONICAL_USER="alice"