1.7 KiB
1.7 KiB
robotnix — adapter for the robotnix flake
robotnix (self-managed NixOS systemd-nspawn robots) lives in its own repo:
git+ssh://gitea@gitea.app.internal:22/ari/robotnix.git, a flake input of
this repo. Its README and docs/ describe the design, options, CLI and
tests. Hosts configure it under services.robotnix (like services.hermenix).
This folder only holds default.nix, which:
- imports
robotnix.nixosModules.default(passed in viaspecialArgs); - defaults
user,authorizedKeys,dnsUpstreamsandlocalDomainsfrom theskyguser, the SSH master keys and the internal networking map; - asserts no robot address clashes with an app in
skyg.internalNetworkingMap.apps.
Decisions
- Own repo (2026-10): robotnix moved out of
modules/nixos/serverso it can grow (storage backends, Genix, child robots) with its own tests. - Namespace:
services.robotnix, notskyg.*, same exception as hermenix: the options belong to an external flake. - hermes-agent pin: the input follows this repo's
hermes-agent, so robots pin the same revision the host locked. - Buzz stays here: robotnix knows nothing about Buzz. The robots' shared
hosts/hl-fwdesk/services/robotnix/buzz.nixbuildspkgs/buzz-clifrom this repo and setsBUZZ_CLI_PATH. Robots get copies of it,common.nixandpkgs/buzz-cliunder/etc/nixos/seed(robotnixseed.extraFiles,seedOfin the host file), so a robot that rebuilds itself (genix) has its own copy. - nspawn, not
oci-containers: the oci-containers rule targets Docker/Podman. nspawn robots need their own store for self-rebuilds, which thecontainers.*module can't give.