Repository navigation
OpenClaw secrets via sops-nix (bws mirror) #1242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4fd20c3
b37a231
95f69f6
d95dbe0
0501923
78199eb
3e70152
2968cf7
676d9de
4ed30f9
e793b32
6b69567
1247000
2aa5c81
be94710
f6594ee
a9ed1dd
ac92d8e
c1a205b
da65611
914043d
596096a
922508c
5a92096
f7299e8
5709db9
dd1d307
4c18a77
cdf990f
a2e7bfc
ce1acfb
9c842e6
2275e9d
bc9b67f
aaaaab8
f0c4444
d5000f9
295b7f8
ca2ac10
20e1a23
259363f
a7e5aae
341863f
340bb04
379c87c
f67dad1
464d490
9e58413
608f632
2f06933
39a2b0a
90138a0
0443d6c
27a241c
a8f2056
90f7ea0
91707b6
e869967
a9411c5
7a9cbda
9d8e7d1
3592b0a
ee2202e
2887353
4abd78f
2e2781d
cbfc188
e246a33
9cce44b
dd4ee06
c40b6c5
b3c8b6e
ff5a86a
0a6d1be
aefa99f
b37c024
b976f14
6847080
292e73f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Basement cluster status, 2026-10-26 | ||
|
|
||
| - Status: status record | ||
| - Date: 2026-10-27T03-14-08Z | ||
| - Roadmap item: [Basement cluster roadmap](../../planning/roadmaps/basement-cluster.md) | ||
| - Issues: epics being filed | ||
|
|
||
| ## State | ||
|
|
||
| Nothing has been built yet under the current program. The basement machines have no OS installed, by design: the whole fleet must be rebuildable from declarative config, so no node is installed until the TALM bootstrap flow is proven. The earlier v1.9-era Talos test cluster was only a test and has been torn down (confirmed by Drew, 2026-10-26). | ||
|
|
||
| What exists is research and planning: | ||
|
|
||
| - A component research brief (2026-10-03): TALM is `cozystack/talm`, Talos v1.14, Cozystack v1.6, managed Postgres is CloudNativePG, RustFS 1.0. The stack fits as TALM → Talos configs → Cozystack → CNPG Postgres + RustFS. | ||
| - An idea register (2026-10-20) capturing the full program: hardware facts, the storage sketch, hard rules (no HashiCorp, everything bootstrappable from config), the egress strategy, and the cloud program around the cluster. | ||
|
|
||
| The cloud extension is blocked at Oracle: the OCI always-free tenancy has been stuck in provisioning since 2026-10-21 (ticket CPCOE-29381; the recorded cloud account name is restricted and no valid replacement has been assigned). The next support check-back is 2026-10-27. | ||
|
|
||
| ## Next steps | ||
|
|
||
| 1. Hardware inventory: gather stats for all ~12 machines and pick the first 3–5 cluster nodes. | ||
| 2. Firmware, BIOS and BMC audit: confirm versions and every setting are identical across the core machines. | ||
| 3. Basement power and space: dedicated 20A circuits and rack layout, so the first nodes can run. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| _: | ||
| { | ||
| # Temporary workaround for the home IPv6 uplink stalling on payload | ||
| # transfers (developing-today/code#1280): prefer IPv4 in getaddrinfo | ||
| # result sorting until the home IPv6 path is repaired. Remove with | ||
| # the issue. | ||
| networking.getaddrinfo = { | ||
| label = { | ||
| "::1/128" = 0; | ||
| "::/0" = 1; | ||
| "2002::/16" = 2; | ||
| "::/96" = 3; | ||
| "::ffff:0:0/96" = 4; | ||
| }; | ||
| precedence = { | ||
| "::1/128" = 50; | ||
| "::/0" = 40; | ||
| "2002::/16" = 30; | ||
| "::/96" = 20; | ||
| "::ffff:0:0/96" = 100; | ||
| }; | ||
| }; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { lib, ... }: | ||
| let | ||
| userSecret = key: { | ||
| inherit key; | ||
| sopsFile = lib.from-root "secrets/sops/common/bws.yaml"; | ||
| owner = "user"; | ||
| mode = "0400"; | ||
| }; | ||
| in | ||
| { | ||
| # OpenClaw gateway + channel tokens. Bitwarden Secrets Manager is the | ||
| # source of truth; lib/bws-to-sops.sh mirrors every bws secret into | ||
| # secrets/sops/common/bws.yaml (age-encrypted to this host). sops-nix | ||
| # decrypts these at system activation to /run/secrets/openclaw/*, | ||
| # where the openclaw-gateway user service reads them through the | ||
| # wrapper's file-based environment (see home/openclaw). | ||
| sops.secrets = { | ||
| "openclaw/gateway-token" = userSecret "openclaw.gateway-token"; | ||
| "openclaw/slack-bot-token" = userSecret "openclaw.slack-bot-token"; | ||
| "openclaw/slack-app-token" = userSecret "openclaw.slack-app-token"; | ||
|
Comment on lines
+18
to
+20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
On an amd deployment, these declarations create Useful? React with 👍 / 👎. |
||
| }; | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the laptop, this new supervisor entry leaves
CLAUDE_CODE_PROXY_EGRESSunset, sobin/claude-code-proxy.mjs:45defaults to the sandbox-onlyhttp://hatch-egress-proxy:3128. ItschildEnv()then overwrites the Claude CLI's HTTP(S) proxy variables with that address, preventing real turns from reaching Anthropic even though the bridge's health endpoint succeeds. SetCLAUDE_CODE_PROXY_EGRESS = ""here, as the laptop Muse and CommandCode launch wrappers already do for their corresponding overrides.Useful? React with 👍 / 👎.