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

@@ -22,8 +22,8 @@ let
modules = {
nixos-modules =
(map mylib.relativeToRoot [
# common
"modules/nixos/server/server.nix"
# profile: agent (hosts/README.md#host-profiles)
"modules/nixos/agent.nix"
# host specific
"hosts/idols-${name}"
])
@@ -32,6 +32,10 @@ let
# until its new host key is a recipient in nix-secrets. Enabling one is
# the last step in hosts/idols-aquamarine/README.md.
];
home-modules = map mylib.relativeToRoot [
# host specific
"home/hosts/linux/idols-${name}.nix"
];
};
systemArgs = modules // args;
+2 -3
View File
@@ -24,10 +24,9 @@ let
(map mylib.relativeToRoot [
# common
"secrets/nixos.nix"
"modules/nixos/server/server.nix"
# profile: agent (hosts/README.md#host-profiles)
"modules/nixos/agent.nix"
"modules/nixos/server/qemu-guest-hardware-configuration.nix"
# headless computer-use environment (sway + desktop automation)
"modules/nixos/desktop/computer-use.nix"
# host specific
"hosts/idols-${name}"
])
+2 -3
View File
@@ -24,10 +24,9 @@ let
(map mylib.relativeToRoot [
# common
"secrets/nixos.nix"
"modules/nixos/server/server.nix"
# profile: agent (hosts/README.md#host-profiles)
"modules/nixos/agent.nix"
"modules/nixos/server/qemu-guest-hardware-configuration.nix"
# headless computer-use environment (sway + desktop automation)
"modules/nixos/desktop/computer-use.nix"
# host specific
"hosts/idols-${name}"
])