refactor: host profiles; give ruby, kana and aquamarine the TUI home (#512)

- Add the agent profile (modules/nixos/agent.nix: rootless Podman, linger,
  nix-ld) with home/linux/tui.nix as its home role; ruby, kana and
  aquamarine use it, so hosts no longer import from hosts/idols-ruby.
- Gate nushell's ~/.secrets source behind modules.shell.secrets.enable,
  off on agent hosts.
- Persist the TUI home state on aquamarine's tmpfs root.
- Document host profiles in hosts/README.md; add tests/agent-profile and
  drop the x86_64 colmena-parity test, which needs mysecrets.

Assisted-by: Claude Code (claude-opus-5-5)
This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-11-03 04:57:06 -06:00
1 parent eb6f6c34f0
commit 9a307b313d
31 files changed
+301 -147

No files matched your search

+3 -2
View File
@@ -10,8 +10,9 @@ This directory contains host-specific Home Manager entry modules.
## Conventions
1. Each host output should reference only one file under `home/hosts/...`.
2. Shared home module imports should be handled in the host file itself.
- Linux hosts usually import `../../linux/core.nix` or `../../linux/gui.nix`.
2. The host file imports its profile's home role, see
[Host Profiles](../../hosts/README.md#host-profiles).
- `desktop` hosts import `../../linux/gui.nix`; `agent` hosts import `../../linux/tui.nix`.
- Darwin hosts import `../../darwin`.
3. Host-specific overrides (SSH keys, desktop toggles, host-local config links) live in the same
host file.
+5
View File
@@ -0,0 +1,5 @@
{
imports = [
../../linux/tui.nix
];
}
+1 -2
View File
@@ -1,7 +1,6 @@
{
imports = [
../../linux/core.nix
../../linux/gui/i3
../../linux/tui.nix
];
# Headless X11/i3 session for computer use.
+1 -2
View File
@@ -1,7 +1,6 @@
{
imports = [
../../linux/core.nix
../../linux/gui/i3
../../linux/tui.nix
];
# Headless X11/i3 session for computer use.