Referenz

Deploy-Pfad

Colmena im Alltag; Disko und nixos-anywhere zur Erstinstallation.

Colmena

colmena build
colmena apply
colmena apply --on lab-gateway

Inventar: deployment.nix (targetHost, targetUser, tags). hive.nix (Colmena-Nodes + Config-Import) und flake.nix (nixosConfigurations) leiten beide per mapAttrs daraus ab.

just-Shortcuts

just build              → colmena build
just apply              → colmena apply
just apply-host NAME    → colmena apply --on NAME

Disko

Partitionen: nixos/hosts/*/disko.nix. Alltag selten; relevant bei neuem Host / Install.

nixos-anywhere

Einmalige Remote-Installation. Danach Colmena. Siehe docs/install.md.

Nicht verwechseln

  • Host-Config deployen → Colmena
  • Öffentliches DNS → Terraform (tofu/dns)