- Nix 97.1%
- Python 1.8%
- Shell 1%
- Makefile 0.1%
nixpkgs 4fe25e12eb9f REMOVED services.nextcloud.config.adminuser and config.adminpassFile (both are now mkRemovedOptionModule). Setting them trips the module assertion, which fails system.build.toplevel evaluation and blocks EVERY nixos-rebuild on this host -- the failure the weekly-housekeeping cron has reported since 2026-11-08. The options only ever fed nextcloud-setup.service (first run). The admin account already exists in the database (j7 / Jason Gatewood, san / San Mononoke, both in the admin group), so removing them changes nothing at runtime. Nextcloud stays ENABLED and SERVING per J7's 2026-11-10 directive to pause full deactivation until he has tested. Verified: nix flake check --no-build --impure -> all checks passed; toplevel --dry-run evaluates through to the full derivation listing; status.php reports installed:true maintenance:false version 33.0.9.1. Co-Authored-By: San <san@localhost> |
||
|---|---|---|
| .kilo/plans | ||
| data/index.bleve | ||
| nix | ||
| scripts | ||
| secrets | ||
| tests | ||
| .gitignore | ||
| AGENTS.md | ||
| CHANGELOG.md | ||
| configuration.nix | ||
| flake.lock | ||
| flake.nix | ||
| hardware-configuration.nix | ||
| README.md | ||
MononokeNAS NixOS Configuration
This repository contains the declarative NixOS configuration for the Mononoke NAS system.
Structure
flake.nix— Flake entry pointconfiguration.nix— Main system configCHANGELOG.md— Release historysecrets/— Age-encrypted secrets (gitignored)nix/hosts/— Host-specific configsnix/modules/— Reusable NixOS modulesnix/services/— Service definitionsnix/overlays/— Per-package Nix overrides (e.g.bun-1.4.0.nixpinspkgs.bunto oven-sh/bun v1.4.0; required byompfrompkgs.llm-agents)
Kitty over SSH
SSH clients running kitty set TERM=xterm-kitty. The system now ships an
xterm-kitty-terminfo package (nix/users/san.nix, compiled from kitty's own
terminfo/kitty.terminfo — pkgs.kitty.terminfo is empty in nixos-26.05).
Without it, zsh prints can't find terminal definition for xterm-kitty on
login and prompt rendering degrades. Per-user fallback: compile into
~/.terminfo with tic -x -o ~/.terminfo kitty.terminfo.
Quick Commands
sudo nixos-rebuild switch --flake .#mononoke --impure
systemctl status hermes-buzz-acp-yakkuru # check any wolf
journalctl -u hermes-buzz-acp-<profile> -f # live logs
Agents
- Mononoke: Primary NAS agent (podman container)
- Ashitaka: TUI agent for NixOS ops
- Yoseba: VPS bastion
Hermes Agent Profiles (buzz-acp transport)
All 11 Hermes profiles connect to the Buzz relay via buzz-acp (Block's ACP harness
binary). Each profile has a dedicated NixOS systemd service:
| Service unit | Profile |
|---|---|
hermes-buzz-acp-default |
san / default identity |
hermes-buzz-acp-ashitaka |
ashitaka |
hermes-buzz-acp-ishii |
ishii |
hermes-buzz-acp-jigo |
jigo |
hermes-buzz-acp-kohroku |
kohroku |
hermes-buzz-acp-mokku |
mokku |
hermes-buzz-acp-moro |
moro |
hermes-buzz-acp-nago |
nago |
hermes-buzz-acp-okkoto |
okkoto |
hermes-buzz-acp-toki |
toki |
hermes-buzz-acp-yakkuru |
yakkuru |
Module: nix/services/buzz-acp-agents.nix
Keys: agenix-encrypted at secrets/buzz-acp-<profile>-key.age, decrypted to
/run/agenix/buzz-acp-<profile>-key at boot (mode 0400, owner san).
Keys are the original Nostr private keys — no rotation, same pubkeys, channel
membership intact.
Migration: 2026-08-20 — transport-only migration from native Hermes gateway plugin.
See wiki: operations/buzz-acp-migration-2026-08-20.md
Cross-pack author allowlist (respondToAllowlist)
Each hermes-buzz-acp-*.service daemon wakes on @-mentions from pubkeys
in respondToAllowlist (CSV, owner implicit). Widened from a single pubkey
(Toyo) to a 16-key cross-pack list on 2026-08-23 (see
nix/services/buzz-acp-agents.nix). Roll out via:
sudo cp /etc/nixos/nix/services/buzz-acp-agents.nix{,.bak.$(date +%Y%m%d-%H%M%S)}
# edit the `respondToAllowlist = "..."` literal, save
sudo nixos-rebuild switch --flake /etc/nixos#mononoke --impure
sudo systemctl daemon-reload
for p in default ashitaka ishii jigo kohroku mokku moro nago okkoto toki yakkuru; do
sudo systemctl restart hermes-buzz-acp-${p}.service
done
Verify each daemon inherited the new list:
for p in default ashitaka ishii jigo kohroku mokku moro nago okkoto toki yakkuru; do
echo "=== $p ==="
ps -ef | grep "agent-args.*${p} " | grep -v grep | grep -oE 'respond-to-allowlist [^ ]+'
done
(default daemon's --agent-args=acp has no profile prefix; use
systemctl status hermes-buzz-acp-default.service to inspect its
ExecStart if the grep returns empty.)
Currently disabled
pkgs.opencode(1.17.4) andnix/services/opencode.nix— disabled 2026-08-25 because upstream nixpkgs-unstable'sopencodederivation segfaults in its post-build smoke test underbun-1.4.0(exit 139, no stack). The previously cachedopencode-1.17.4binary at/nix/store/g5bjc480izwmpkar83xxhs2vyli0vq9j-opencode-1.17.4/bin/opencodestill works if invoked directly. Re-enable once a fixedopencodederivation ships in nixpkgs-unstable, or pin to a known-good version via overlay. SeeCHANGELOG.md6.6.18.