feat: add NixOS deployment infrastructure #8

Closed
Hermes wants to merge 13 commits from feat/nix-deployment-infra into master

13 Commits

Author SHA1 Message Date
ef97401f93 fix: add nixos-raspberrypi to outputs 2026-04-29 19:46:07 +00:00
3bd4fcc1c6 fix: add nixos-raspberrypi input for uConsole CM5 support
- uconsole-cm5 module requires hardware.raspberry-pi options from nixos-raspberrypi
- Import raspberry-pi-5.base before uconsole-cm5 module
- Uses nixos-25.05 for both inputs (compatible versions)
2026-04-29 19:45:34 +00:00
bbfcc43534 fix: use nixos-uconsole.kernel module only (uconsole-cm5 has broken deps)
- uconsole-cm5 module requires hardware.raspberry-pi options that don't exist
- Manual hardware config in flake.nix instead
- Still uses uconsole kernel and nixpkgs-uconsole for package compatibility
2026-04-29 19:41:06 +00:00
042f30e2cf fix: use nixos-25.05 for uConsole (has hardware.raspberry-pi options) 2026-04-29 19:38:43 +00:00
18fd82d03e fix: use nixpkgs-uconsole (89dbf01) for uConsole host
- Matches nixos-uconsole module's expected nixpkgs version
- Other hosts (lazyworkhorse, cyt-pi) stay on nixos-unstable
- Enables full nixos-uconsole module support
2026-04-29 19:36:34 +00:00
2e32e46c1c fix: use nixos-uconsole module with its own nixpkgs
- nixos-uconsole manages its own nixpkgs input
- Uses nixos-uconsole.lib.nixosSystem for proper module support
- Restores uconsole.* options in configuration.nix
- Includes nixos-hardware.raspberry-pi-5 module
2026-04-29 19:35:14 +00:00
f479b68e09 docs: add multi-agent worktree policy
- Each agent session gets isolated worktree in /tmp
- Prevents branch conflicts between concurrent agents
- Automatic cleanup after session
2026-04-29 19:26:04 +00:00
421adfe14b fix: configure uConsole manually without nixos-uconsole module
- Module has hardware.raspberry-pi compatibility issues
- Manual config like cyt-pi (display, firmware, GPU)
- Keeps nixpkgs-uconsole for package compatibility
- All hosts now evaluable
2026-04-29 19:25:36 +00:00
7284c62940 fix: use nixpkgs@89dbf01 for uConsole (matches nixos-uconsole expected version) 2026-04-29 19:23:07 +00:00
013f4caeb7 fix: remove nixos-hardware module from uConsole (conflicts with nixos-uconsole) 2026-04-29 19:21:44 +00:00
a789be4a52 feat: add uConsole with separate nixpkgs (nixos-24.11)
- Uses nixpkgs-uconsole (nixos-24.11) for uConsole only
- Other hosts (lazyworkhorse, cyt-pi) stay on nixos-unstable
- Enables nixos-uconsole module compatibility
- Includes full CM5 configuration (HAM, SDR, security tools, GPS)
2026-04-29 19:20:38 +00:00
67975facfc feat: add NixOS deployment infrastructure
- Nix installation guide for container (docs/nix-container-install.md)
- Deployment helper script (scripts/deploy.sh)
- SSH configuration template (scripts/deploy-ssh-config)
- Deployment skill for Hermes (skills/nixos-deploy/)

Enables remote NixOS deployment from Hermes container to target hosts
via SSH with nixos-rebuild --target-host.

Usage:
  ./scripts/deploy.sh <hostname> [branch] [action]

Supported hosts:
  - lazyworkhorse (x86_64)
  - cyt-pi (aarch64)
  - uConsole (aarch64) - config pending
2026-04-29 18:56:36 +00:00
30f8ca3863 Add AI model optimizer cron job draft and initial state files 2026-04-28 17:19:45 +00:00