Commit Graph
883 Commits
Author SHA1 Message Date
jackos1998andClaude Opus 5.5 288d68b954 colony-psql: Upgrade PostgreSQL to 18
Return the container to `mine` with PostgreSQL 18. The live cluster
was migrated from 14 with `pg_upgrade --link` before this config
first started. The new cluster was initialized with
`-E UTF8 --locale=en_US.UTF-8 --no-data-checksums` to match the old
one, and every B-tree index on a `character(n)` column was reindexed
afterwards because `amcheck` rejected their 14-built deduplication
flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:11:44 +00:00
jackos1998andClaude Opus 5.5 31b5e3b608 nixpkgs: Refresh pins and flake inputs
Move all four channels and both home-manager inputs to the rebased
fork and current channels, and refresh the other moving inputs. Bump
the latest kernel to 7.3 and the release metadata to 26.11.

Follow upstream removals: pin `colony-psql` (PostgreSQL 14) to
`mine-stable` until the PostgreSQL 18 migration that follows, and
`spoder` (Nextcloud 32) until its own migration, and take MinIO for
`object` from `mine-stable` through a compatibility import. Replace
Gitea's removed `DOMAIN` with `SSH_DOMAIN`, let `determinate-nix` pick
its own nixpkgs, and drop the nginx bump now that every pin ships fixed
releases. Move Frigate's recording retention to the `record.continuous`
layout, since 0.18 rejects `record.retain`. Pass the borgbackup wrapper
flags as separate arguments now that the package uses structured
attributes. Stop `britway`'s mesh link gating `network-online.target`:
systemd 262 holds it in configuring until `tailscale0` exists for its
policy rule, and tailscaled only starts once the network is online.

Keep the SCTP module block: no kernel in use carries the NGINX2Root
SCTP fix yet. Record the checks `kelder` missed while out of service
on its page.

Notable upgrades:

- Kernels: 6.18.64 LTS and 7.3.5 latest.
- Gitea 1.27.2 -> 28.3.0, with schema migrations.
- Home Assistant 2026.8.2 -> 2026.11.2 and Frigate 0.17.2 -> 0.18.3.
- Jellyfin 10.11.11 -> 12.4, Radarr 6.1 -> 7.0.3 and Sonarr
  4.0.17 -> 5.0.0 (a prerelease), each migrating its database.
- HedgeDoc 1.11.1 -> 1.12.0, mautrix-whatsapp 26.08 -> 26.11,
  Vaultwarden 1.37.1 -> 1.37.5, Seerr 3.3.0 -> 3.5.2.
- Headscale 0.29.3 -> 0.29.7, BIRD 2.19.2 -> 2.20.0 and Tuwunel
  1.8.3 -> 1.9.4.
- nginx 1.30.7 and 1.31.9 from the channels, with the NGINX2Root
  fixes.
- `determinate-nix` 3.22.2 -> 3.24.3, `harmonia` 3.2.0 -> 3.3.0,
  `deploy-rs` 1.0.0, `copyparty` 1.20.21 -> 1.20.26, and `llm-agents`
  with Codex 0.170.0 and Claude Code 2.1.330.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:11:44 +00:00
jackos1998andClaude Opus 5.5 a3d4918095 docs/nixpkgs: Expand the upgrade procedure
Add the review and bookkeeping the last upgrade needed:

- Keep a progress document in the workspace, out of the upgrade's
  commits, and delete it at wrap-up after moving open follow-ups to
  TODOs, box pages or commit messages.
- Check the published stable release rather than the newest release
  branch, and fetch the upstream branches explicitly.
- Verify requested backports on each rebase base and compare both
  fork patch stacks with `git range-diff` before pushing.
- Review the apps and services each channel supplies, and every
  direct flake input, for removals, migrations and breaking changes.
- Present channel moves and migrations as choices, and mark any
  temporary pin with a TODO naming its exit condition.
- Commit the refresh apart from procedure changes and service
  migrations, and list notable version upgrades in its description.

Default the fork checkout to `../nixpkgs` and update the
`upgrade-nixpkgs` skill to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:42:08 +00:00
jackos1998 f5ef9031a6 home-manager/gui: Keep screenshots on clipboard
CI / Check, build and cache nixfiles (push) Successful in 47m40s
Update docs / update (push) Successful in 1m18s
Use `wl-copy` for Satty copies so screenshots remain available after
closing the editor.
2026-11-22 12:42:08 +00:00
jackos1998 b5be218f14 nixos/common: Block SCTP kernel module loading
CI / Check, build and cache nixfiles (push) Successful in 52m10s
Update docs / update (push) Successful in 58s
2026-11-19 00:26:50 +00:00
jackos1998andClaude Opus 5.5 01c8261de9 nixos: Bump nginx for NGINX2Root fixes
Override `nginxStable` and `nginxMainline` to 1.30.7 and 1.31.9 until
the pinned channels ship them. OpenResty has no fixed release yet, so
disable HTTP/2 on `spoder`'s vhosts in the meantime.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:26:50 +00:00
github-actions[bot] 3370823ed5 docs: Update generated references 2026-11-18 22:51:24 +00:00
jackos1998andClaude Opus 5.5 a6491c7535 nixos/slop-cannon: Move to a VM on palace
CI / Check, build and cache nixfiles (push) Successful in 45m39s
Update docs / update (push) Successful in 1m0s
Give agents their own kernel, Nix daemon and disk for workloads that
need root. Put the VM on the `untrusted` VLAN with MAC spoof
checking on VF 5.

Export a dedicated partition from `cellar` and connect it on
`palace`. Give the VM its own SSH host key and age secrets for Paseo
and Gitea. Keep the agent home and Paseo identity on persistent
storage and provide `slop-pair` for pairing clients.

Retire the container, restore `sfh` to 8 cores and 32 GiB, and rekey
the shared password secret. Document the VM and its operating
procedures on the relevant box pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:02:14 +00:00
jackos1998andClaude Opus 5.5 5058dec3f1 nixos/cellar: Keep spdk-tgt running on deploy
Restarting `spdk-tgt` takes every NVMe-oF root disk away (river,
castle, sfh), so don't do it on deploy.

`spdk-debug` repeated the RAID definition by hand. Generate its config
from the real one instead (no examine, no exports, ublk disks from
`my.spdk.debug.ublkDisks`), so it can't drift and runs without a
terminal. Document adding a partition export with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:01:54 +00:00
jackos1998andClaude Opus 5.5 5fb8e8d280 nixos/home: Keep untrusted to the Internet
The routers reject new connections from the `untrusted` VLAN to
internal destinations before the firewall's ICMP rules, then allow
Internet transit via `wan` and `as211024`. The shared
`lib.my.c.internalNets` also covers the modem's management subnet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:01:54 +00:00
jackos1998 89cc4b679c nixos/sfh: Start Home Assistant without the webcam
An absent webcam made the nspawn bind mount fail before Home
Assistant could start. Give the container an always-present
directory and bind the video device into it when it is available.
Point go2rtc at the device in that directory.
2026-11-18 22:01:54 +00:00
jackos1998 4307939aab devshell: Fix ssh-machine caching in jj workspaces
CI / Check, build and cache nixfiles (push) Successful in 48m33s
Update docs / update (push) Successful in 1m15s
2026-11-18 21:08:24 +00:00
github-actions[bot] fc92ff9ba1 docs: Update generated references 2026-11-17 13:40:06 +00:00
jackos1998 15e12613fb nixos/estuary: Update LUJE and NL-ix peering
CI / Check, build and cache nixfiles (push) Successful in 51m18s
Update docs / update (push) Successful in 1m18s
Replace the ColoClue LUJE sessions with IPv6 peering on Clue-IX.
Add IPv4 and IPv6 LUJE sessions on NL-ix.

Share the lower NL-ix peer preference through dedicated templates,
including Meta alongside the other NL-ix direct peers.
2026-11-17 12:47:15 +00:00
jackos1998 c1242b12ed nixos/estuary: Add Clue-IX IPv6 peering
Attach `clue-ix` VLAN 121 directly to `wan` with the assigned IPv6
address. Add sessions to both AS218511 route servers using `rs_client`
roles and mandatory GTSM, following the existing IXP policy.

Include the interface in the direct protocol and IXP firewall set,
and document the VLAN and peers. Omit IPv4 peering because no address
was assigned.
2026-11-17 12:47:15 +00:00
github-actions[bot] 4b78cbe841 docs: Update generated references 2026-11-16 02:28:39 +00:00
jackos1998 1f4d058ba4 nixos/slop-cannon: Fix Codex procfs fallback
Update docs / update (push) Successful in 1m0s
CI / Check, build and cache nixfiles (push) Successful in 48m35s
Restore the bubblewrap diagnostic expected by Codex so its existing
container fallback handles nspawn procfs restrictions.

Verified workspace writes succeed and outside writes are denied.
`check-system slop-cannon` passes.
2026-11-16 01:01:18 +00:00
jackos1998andClaude Opus 5.5 9c508caeb5 nixos/palace: Grow sfh VM for slop-cannon
CI / Check, build and cache nixfiles (push) Successful in 55m9s
Update docs / update (push) Failing after 1m10s
Give `sfh` 16 cores x 2 threads (overcommitted) and 96 GiB, so the
coding agents in `slop-cannon` have room alongside `hass` and `unifi`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 00:39:48 +00:00
jackos1998andClaude Opus 5.5 b0a7f3cd89 nixos/middleman: Serve Paseo web app ourselves
Serve the web app from the Paseo package on `paseo.nul.ie` and point
the daemon's pairing links there, so browsers no longer load Paseo's
hosted app. It connects through our relay, so the daemon stays on
loopback.

Move the patched Paseo package into the shared overlay so `middleman`
and `slop-cannon` use the same build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 00:39:48 +00:00
jackos1998andClaude Opus 5.5 a62b8351fa nixos/sfh: Add slop-cannon container for agents
A container on `sfh` for coding agents driven remotely through Paseo,
using our relay on `middleman`. Agents run as the unprivileged
`slop-cannon` user; Claude managed settings disable bypass mode and
deny raw deploy and `ssh-machine` access.

Move the Claude Code and Codex configuration out of `gui` into a
shared `my.agents` home-manager module.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 00:39:48 +00:00
jackos1998andClaude Opus 5.5 5af71ea231 nixos/middleman: Add self-hosted Paseo relay
Package paseo-relay and add a small `my.paseo-relay` module running it
as a single node without Erlang distribution. Publish it on
`paseo-relay.nul.ie` so Paseo daemons and the app can use our own
relay instead of the hosted one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 23:48:19 +00:00
jackos1998andClaude Opus 5.5 f567a43bc0 nixos/common: Disable bootvine in containers
Update docs / update (push) Successful in 1m6s
CI / Check, build and cache nixfiles (push) Successful in 43m36s
bootvine attaches to a console TTY, which nspawn containers do not
have, so the unit fails and leaves containers degraded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 19:49:56 +00:00
github-actions[bot] 3f63cf5938 docs: Update generated references 2026-11-15 17:16:18 +00:00
jackos1998 314be7620f nixos/home: Gate DDNS updates on WAN readiness
Update docs / update (push) Successful in 1m0s
CI / Check, build and cache nixfiles (push) Successful in 47m46s
Start updates when the WAN gate opens and skip timer runs while it
is inactive. Keep periodic retries and wait for the local DNS services.
2026-11-15 16:23:06 +00:00
jackos1998 a04d11423a nixos/home: Separate router storage and uplinks
Give `river` a dedicated RDMA VF and two RSTP trunk attachments.
Keep client services on the router VIPs and carry Digiweb VLANs
over both switch paths.

Set VF trust, multicast reception, bridge MAC and ARP behavior for
local switching. Wait for Kea interface readiness and apply RSTP
costs through `mstpd` despite port-registration and rename races.

Load `palace`'s RAID module in the initrd. Record RouterOS and
RouterBOOT upgrades and validate port, carrier and switch outages.

Document the deployed architecture, interface handoffs and recovery
procedures. Add physical socket maps, NIC capacities and cable
connections alongside the logical topology and failover checks.
2026-11-15 16:23:06 +00:00
jackos1998 b02948d826 nixos/spdk: Handle released DPDK 26.03
Use the supported PCI layout for released DPDK 26.03, matching the
upstream fix in SPDK 26.05. Otherwise SPDK 26.01 selects an older
layout and crashes during PCI scanning.
2026-11-15 16:23:06 +00:00
jackos1998 08c0ebf9e8 nixos/whale2: Add Quad to Valheim whitelist
Update docs / update (push) Canceled after 0s
CI / Check, build and cache nixfiles (push) Canceled after 17m0s
2026-11-15 16:08:48 +00:00
jackos1998andClaude Opus 5.5 60324c5ff5 devshell: Add docs Markdown previewer
Update docs / update (push) Canceled after 0s
CI / Check, build and cache nixfiles (push) Canceled after 2m48s
Wraps `go-grip` to preview docs in the browser before pushing,
rendered locally with live reload. Defaults to `docs/README.md`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:27:37 +00:00
jackos1998andClaude Opus 5.5 2606d0e4ae home-manager/gui: Update Claude status line to v1.4.5
Upstream v1.4.5 moves the effort level into parentheses after the
model name.

Also read the CLI version from the `version` field Claude Code passes
on stdin instead of caching `claude --version` for an hour, which kept
showing the old version after an upgrade. `claude --version` remains
as an uncached fallback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:21:48 +00:00
jackos1998 991ca5ee2a home-manager/gui: Pull Claude from llm-agents
CI / Check, build and cache nixfiles (push) Canceled after 0s
Update docs / update (push) Canceled after 0s
2026-11-15 15:12:38 +00:00
jackos1998 b1b27b5bc3 nixos: Enable bootvine everywhere
Update docs / update (push) Canceled after 0s
CI / Check, build and cache nixfiles (push) Successful in 47m21s
2026-11-15 14:04:08 +00:00
jackos1998 b705b66bfc devshell: Replace deploy-multi with --targets
CI / Check, build and cache nixfiles (push) Successful in 42m1s
Update docs / update (push) Failing after 1m7s
2026-11-15 13:57:04 +00:00
jackos1998 93ac20e053 devshell: Cache SSH connection settings
Cache all deploy node connection settings and invalidate them when
HEAD or tracked working-tree contents change. Preserve SSH argument
boundaries and support explicit refreshes.
2026-11-15 13:52:52 +00:00
jackos1998 99f105ed5f Update llm-agents
CI / Check, build and cache nixfiles (push) Successful in 53m55s
Update docs / update (push) Failing after 2m24s
2026-11-15 13:11:13 +00:00
jackos1998 d8cd889e1d nixos/gui: Add bootvine 2026-11-15 13:05:13 +00:00
jackos1998 198b172186 Update llm-agents
CI / Check, build and cache nixfiles (push) Successful in 48m59s
Update docs / update (push) Successful in 1m11s
2026-10-31 15:22:46 +00:00
jackos1998 4281aa9234 nix: Add Numtide binary cache for llm-agents
Configure the Numtide substituter and signing key in the shared cache
settings and flake configuration so Codex can use prebuilt binaries.
Document the cache and retain the input’s tested nixpkgs pin.
2026-10-31 15:21:26 +00:00
jackos1998 20ac77d8a0 devshell: Accept flake config in build-n-switch
Pass `--accept-flake-config` explicitly because `doas` drops the
devshell configuration that enables it. This avoids prompts for the
flake’s binary cache settings when rebuilding as root.
2026-10-31 15:19:14 +00:00
jackos1998 967faad269 home-manager/gui: Switch from swappy to satty for screenshots
CI / Check, build and cache nixfiles (push) Successful in 47m47s
Update docs / update (push) Successful in 1m14s
2026-10-30 12:16:16 +00:00
jackos1998 ebedb6b494 Update llm-agents
CI / Check, build and cache nixfiles (push) Successful in 1h24m33s
Update docs / update (push) Successful in 1m1s
2026-10-29 21:45:49 +00:00
jackos1998 cbe54f7523 home/gui: Guard newer Codex settings option
CI / Check, build and cache nixfiles (push) Successful in 2h42m49s
Update docs / update (push) Successful in 1m20s
Only set `programs.codex.mutableSettings` when Home Manager exposes it.
This fixes evaluation on 26.05, including boxes with the GUI disabled.
Record the removal TODO and guidance for future compatibility guards.
2026-10-19 17:14:21 +01:00
jackos1998 46008cb25a common: Add python3 to system and home packages
Update docs / update (push) Successful in 1m12s
CI / Check, build and cache nixfiles (push) Failing after 12m25s
2026-10-18 18:25:45 +01:00
jackos1998 5edb5e8ff6 Update llm-agents and allow Codex access to network 2026-10-18 18:16:52 +01:00
jackos1998 ee6b34dbd7 home-manager: Share Git and Jujutsu configuration
Update docs / update (push) Successful in 51s
CI / Check, build and cache nixfiles (push) Failing after 17m56s
Move Git, Git LFS and `diff-so-fancy` into the common home module.
Enable Jujutsu with the same identity and add it to the devshell.

Document `jj` workflows and prefer them in Jujutsu workspaces.
2026-10-03 22:16:42 +01:00
jackos1998 e7ec6740f1 home-manager/gui: Manage Codex with mutable settings
Pin Codex independently through `llm-agents.nix` and update unstable
home-manager for `programs.codex.mutableSettings`.

Declare the status line, including both usage windows, while preserving
imperative settings during activation.
2026-10-03 22:11:19 +01:00
jackos1998 73e538ad1f nixos/whale2: Refresh Valheim server and world
CI / Check, build and cache nixfiles (push) Successful in 55m5s
Update docs / update (push) Successful in 1m10s
Pin the community image and start simpland3 while retaining
simpland2. Correct the server-files volume name and reuse the
admin ID in both access lists.
2026-09-20 21:23:01 +01:00
github-actions[bot] 9e9027a250 docs: Update generated references 2026-08-25 19:59:15 +00:00
jackos1998 b904922356 ci/docs: Fix repository URL for push
CI / Check, build and cache nixfiles (push) Has been cancelled
Update docs / update (push) Successful in 1m4s
2026-08-25 20:57:26 +01:00
jackos1998 02c965dd96 ci/cache: Keep collection in preflight
CI / Check, build and cache nixfiles (push) Successful in 47m34s
Update docs / update (push) Failing after 1m4s
Group cache collection separately in the Actions log and avoid repeating
it after updating the CI profile.
2026-08-25 08:58:57 +01:00
jackos1998 adea4bd9e5 ci/cache: Prune profile generations
Update docs / update (push) Failing after 1m5s
CI / Check, build and cache nixfiles (push) Failing after 3h5m51s
Explicitly remove expired generations from the nonstandard Harmonia
profile before collecting garbage. This keeps old CI closures from
remaining rooted until the cache exhausts its inodes.
2026-08-25 08:46:45 +01:00