Commit Graph
59 Commits
Author SHA1 Message Date
jackos1998andClaude Opus 5.5 71ed076f12 flake: Add slop-broker from its own repository
The broker, its NixOS and home-manager modules and the agents' guide
now live in the `slop-broker` repository, which this flake takes as an
input: its overlay provides `pkgs.slop-broker`, and the common modules
import `services.slop-broker*` and `programs.slop`. What's specific to
these boxes stays here: tmproot persistence for the broker and its
builder, `my.agents.slop` and the devshell's `slop` commands, which
`docs/slop-broker.md` describes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:45:27 +00:00
jackos1998 fabbb43fbf ci/nix: Allow IFD for runtime dependency replacements
Update docs / update (push) Successful in 1m5s
CI / Check, build and cache nixfiles (push) Failing after 1h2m10s
Share a single replacement list between NixOS and standalone Home
Manager. CI checks that list against its targets' nixpkgs channels.

When a replacement applies, warn and defer the flake check until
after the target builds. Runtime replacement needs to generate and
import store reference graphs during evaluation, which fails under
`nix flake check --no-build` on a fresh runner.

Keep the early eval-only check and disable IFD when the list is empty.
2026-11-23 23:45:23 +00:00
jackos1998 af32a8dd4b lib/json-c: Work around the 0.19 memory leak
Update docs / update (push) Successful in 1m28s
CI / Check, build and cache nixfiles (push) Failing after 1m31s
In json-c 0.19, json_object_put calls the function that frees detached
JSON objects inside assert(). Release builds with NDEBUG skip that
call. Sway's frequent IPC replies then leak memory, eventually making
workspace switches lag.

Patching json-c in the main package set changes the library's store
path and forces dependent packages, including Firefox and Chromium,
to rebuild. Keep the pin with SPDK 26.09 and build the ABI-compatible
fix separately. Rewrite runtime references in NixOS systems and
standalone Home Manager generations to reuse their existing binaries.

Drop the replacement when the pinned nixpkgs includes the fix.

https://github.com/NixOS/nixpkgs/pull/586077
2026-11-23 17:09:05 +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 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
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 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
jackos1998andClaude Opus 4.8 7fe3c8186c nix: Adopt Determinate Nix as the common Nix
Use Determinate Nix as `nix.package` for systems, homes and the
devshell, for its parallel evaluation and lazy trees. We only take the
package, not `determinate-nixd`: the daemon and `nix.conf` model are
unchanged and the Determinate NixOS module is not imported.

- Add the `determinate-nix` (`nix-src`) input, following our
  `nixpkgs-unstable`. FlakeHub's cache needs auth, so we build it
  ourselves and let it flow through Harmonia like everything else.
- `determinateOverlay` exposes it as `pkgs'.mine.determinate-nix`;
  `lib.my.c.nix.determinateSettings` (`lazy-trees`, `eval-cores = 0`)
  is merged into `nix.settings` and the devshell `nix.conf`.
- Switch CI to `DeterminateSystems/determinate-nix-action` so the
  runner itself evaluates with Determinate.
- Advertise the Harmonia cache via the flake's `nixConfig`, trusted
  without a prompt via `accept-flake-config` in the devshell, `.envrc`
  and CI only (boxes already trust it through `nix.settings`).
- Re-attach `pkgs`/`lib` to container and installer
  `nixosConfigurations` so Determinate's flake schemas can evaluate
  them (`nix flake check` otherwise fails with `attribute 'pkgs'
  missing`).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-03 22:31:43 +01:00
jackos1998andClaude Opus 4.8 1ca978baf4 home: Raise stateVersion and drop dead nix.package guards
Every managed home already had its stateVersion force-set per
home-manager branch (22.11 for stable/mine-stable, 23.05 otherwise);
pin them all to 23.05.

With the floor at 23.05 the `versionAtLeast config.home.stateVersion`
guards on `nix.package` are always taken, so drop them.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-03 22:31:43 +01:00
jackos1998andClaude Opus 4.8 390818ffdb home-manager/gui: Disable pi-coding-agent (breaks CI)
`pi-coding-agent-bun` breaks `nix flake check` in CI: its bun2nix
`fetchBunDeps` calls `builtins.filterSource` on subpaths of the pi.nix
flake source, which requires that source derivation to be realised in the
local store. A fresh CI runner doesn't have it, so eval aborts with
`path '...-source.drv' is not valid`. It only works locally because the
source is already realised there.

Not using pi right now, so comment out the input, overlays, home module
import and the package (leaving a root-cause note in `flake.nix`) rather
than working around the upstream issue.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-02 00:12:51 +01:00
jackos1998 e077c6e30c home-manager/common: Add treemd 2026-07-28 12:06:24 +01:00
jackos1998 9b582bec7b home-manager/gui: Add pi-coding-agent
CI / Check, build and cache nixfiles (push) Failing after 2m29s
2026-07-26 18:55:20 +01:00
jackos1998 93529c578b "Release" 26.06 Irritating
CI / Check, build and cache nixfiles (push) Successful in 2h20m51s
2026-06-13 16:00:18 +01:00
jackos1998 45861bef08 "Release" 25.11 Hooray 2025-12-06 15:18:36 +00:00
jackos1998 be7fb5a243 home-manager/common: Fix overlays
CI / Check, build and cache nixfiles (push) Successful in 2h39m0s
2025-10-06 10:54:12 +01:00
jackos1998 8fa4a7ee60 "Release" 25.09 Giving
CI / Check, build and cache nixfiles (push) Failing after 31m46s
2025-09-06 17:14:09 +01:00
jackos1998 ffa5d19854 home-manager/common: Add nix-tree package
Installer / Build installer (push) Has been cancelled
CI / Check, build and cache Nix flake (push) Has been cancelled
2024-06-29 23:42:31 +01:00
jackos1998 677f3f26ab home-manager/common: Use vi bindings for tmux 2023-12-29 21:04:07 +00:00
jackos1998 4624480c8b home-manager/common: Fix Nix cache config for users
CI / Check, build and cache Nix flake (push) Successful in 18m32s
2023-12-13 22:57:54 +00:00
jackos1998 edb5767770 Add binary cache timeout and fallback
CI / Check, build and cache Nix flake (push) Successful in 14m19s
2023-11-18 00:10:05 +00:00
jackos1998 38e7251300 Set up homes and systems to use cache
CI / Check, build and cache Nix flake (push) Successful in 14m11s
2023-11-17 23:08:28 +00:00
jackos1998 2dbc8b398b Split constants into separate lib file 2023-11-02 13:41:50 +00:00
jackos1998 65324d8af6 Add NixGL 2023-08-22 12:12:29 +01:00
jackos1998 31fd428d8c home-manager/common: Add alias for kitty SSH kitten 2023-08-06 13:38:34 +01:00
jackos1998 e36a706956 home-manager/common: Add pwgen 2023-06-24 17:31:26 +01:00
jackos1998 102805d89e home-manager/common: Add color to ip 2023-05-06 19:44:24 +01:00
jackos1998 c6c6ee4d72 nixos/castle: Add boardie 2023-04-23 23:44:55 +01:00
jackos1998 0038d9c987 Update nixpkgs and home-manager 2022-11-20 04:44:22 +00:00
jackos1998 d9b0ba2e6e Remove nix-cache.nul.ie for now 2022-10-06 11:57:06 +01:00
jackos1998 cf053a3f32 home-manager/common: Use nixpkgs flake for pkgs in Nix registry 2022-07-21 11:47:27 +01:00
jackos1998 1534f0a132 home-manager/common: Add mtr, make traceroute and iputils only on Linux 2022-07-20 12:22:56 +01:00
jackos1998 940aa6145f Fix missing key for cache.nixos.org 2022-07-17 02:56:26 +01:00
jackos1998 1b67ac1da0 Add custom Nix cache to Nix configs 2022-07-16 21:04:11 +01:00
jackos1998 f744f77732 Fix pkgs ref in home-manager / NixOS registry.json 2022-06-17 22:48:47 +01:00
jackos1998 25dd48b795 Fix bugs related to mismatched / missing nix 2022-06-12 23:21:57 +01:00
jackos1998 75e0c3c9a4 home-manager/common: Add jq and yq 2022-06-11 20:27:59 +01:00
jackos1998 b1a968afea home-manager/common: Add ncdu 2022-06-06 15:09:42 +01:00
jackos1998 c841b37f19 Move NixOS and home-manager stable to 22.05 2022-05-28 18:38:03 +01:00
jackos1998 64def7f564 nixos: Tweak networking and prepare for more VMs 2022-05-28 15:34:50 +01:00
jackos1998 1eac3c8577 home-manager/common: Add whois 2022-05-12 21:19:18 +01:00
jackos1998 1a61c9e1b2 Update nixpkgs and home-manager
And fix weird nixpkgs config behaviour
2022-05-07 15:12:29 +01:00
jackos1998 934e7afcb8 home-manager/common: Use new upstream nix.settings to configure Nix 2022-04-17 16:01:07 +01:00
jackos1998 1d233e323f home-manager/common: Swap dhex for hyx
dhex is unsupported on darwin.
2022-03-29 11:49:28 +01:00
jackos1998 2fcd129089 home-manager/common: Add dhex 2022-03-29 11:41:56 +01:00
jackos1998 5ef6684df4 home-manager/common: Add tmux and wget 2022-03-23 13:39:13 +00:00
jackos1998 5bb7985883 home-manager/common: Fix flake-src function 2022-02-22 20:59:20 +00:00
jackos1998 8c61cea30d Add secret support 2022-02-22 00:59:57 +00:00
jackos1998 de5e320c1a Source /etc/profile.d/nix.sh on darwin 2022-02-21 13:58:38 +00:00
jackos1998 a0901fecde home-manager: Add nix.conf 2022-02-21 13:38:22 +00:00
jackos1998 7180d265c4 home-manager/configs: Add macsimum and use SSH extraConfig 2022-02-21 13:19:21 +00:00