feat: add NixOS deployment infrastructure #23

Open
Hermes wants to merge 2 commits from feat/nix-deployment-v2 into master
Collaborator

Summary

Adds NixOS deployment infrastructure for remote deployment from Hermes container.

Changes

  • docs/nix-container-install.md: Nix installation guide for container
  • scripts/deploy.sh: Deployment helper script
  • scripts/deploy-ssh-config: SSH configuration template

Usage

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

Supported Hosts

  • lazyworkhorse (x86_64)
  • cyt-pi (aarch64)
  • uConsole (aarch64)
## Summary Adds NixOS deployment infrastructure for remote deployment from Hermes container. ## Changes - docs/nix-container-install.md: Nix installation guide for container - scripts/deploy.sh: Deployment helper script - scripts/deploy-ssh-config: SSH configuration template ## Usage ```bash ./scripts/deploy.sh <hostname> [branch] [action] ``` ## Supported Hosts - lazyworkhorse (x86_64) - cyt-pi (aarch64) - uConsole (aarch64)
Hermes added 1 commit 2026-04-30 00:06:59 +00:00
- 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
Hermes added 1 commit 2026-05-20 18:29:49 +00:00
- docs/nix-container-install.md: 474-line guide covering Determinate Systems
  installer, vanilla Nix, NixOS base image, architecture notes (x86_64 vs aarch64),
  cross-compilation, container considerations, troubleshooting
- scripts/deploy.sh: 286-line deployment script with pre-flight checks, git sync,
  build validation (nix build --no-link), 5 actions (switch/boot/test/build/
  dry-activate), color-coded logging, env-based configurability
- scripts/deploy-ssh-config: SSH config for all 3 hosts with dual users for
  lazyworkhorse, reverse tunnel for cyt-pi, uConsole placeholder, Gitea entry

Full replacements of stub files from previous commit.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/nix-deployment-v2:feat/nix-deployment-v2
git checkout feat/nix-deployment-v2
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gortium/infra#23
No description provided.