cryodev/docs/index.md
steffen 5ba78886d2 Add SD image pipeline, documentation overhaul, and fix module issues
- Add automatic SD image builds for Raspberry Pi via Forgejo Actions
- Enable binfmt emulation on cryodev-main for aarch64 cross-builds
- Add sd-image.nix module to cryodev-pi configuration
- Create comprehensive docs/ structure with installation guides
- Split installation docs into: first-install (server), reinstall, new-client (Pi)
- Add lib/utils.nix and apps/rebuild from synix
- Fix headplane module for new upstream API (tale/headplane)
- Fix various module issues (mailserver stateVersion, option conflicts)
- Add placeholder secrets.yaml files for both hosts
- Remove old INSTRUCTIONS.md (content moved to docs/)
2026-03-11 08:41:58 +01:00

3.5 KiB

Cryodev NixOS Configuration Documentation

Willkommen zur Dokumentation der cryodev NixOS-Infrastruktur.

Getting Started

Services

Deployment

Architektur

                    Internet
                        |
                   cryodev.xyz
                        |
              +-------------------+
              |   cryodev-main    |
              |   (x86_64 Server) |
              +-------------------+
              | - Headscale       |
              | - Headplane       |
              | - Forgejo         |
              | - Mailserver      |
              | - Netdata Parent  |
              +-------------------+
                        |
               Tailscale Mesh VPN
                        |
              +-------------------+
              |   cryodev-pi      |
              | (Raspberry Pi 4)  |
              +-------------------+
              | - Tailscale       |
              | - Netdata Child   |
              | - Comin (GitOps)  |
              +-------------------+

Installations-Szenarien

Szenario Beschreibung Anleitung
Neuer Raspberry Pi Config erstellen → Image bauen → Flashen new-client.md
Erstinstallation (Server) x86_64 Host, manuelle Installation first-install.md
Neuinstallation Bestehender Host, neue Hardware reinstall.md

Für Raspberry Pi: SD-Image Referenz

Verzeichnisstruktur

.
├── flake.nix           # Entry point, inputs and outputs
├── constants.nix       # Zentrale Config (Domains, IPs, Ports)
├── hosts/              # Host-spezifische Konfigurationen
│   ├── cryodev-main/
│   └── cryodev-pi/
├── modules/            # Wiederverwendbare NixOS-Module
│   └── nixos/
├── pkgs/               # Eigene Pakete
├── overlays/           # Nixpkgs Overlays
├── templates/          # Templates für neue Hosts
├── scripts/            # Helper-Scripts (install.sh)
├── apps/               # Nix Apps (rebuild)
└── lib/                # Helper-Funktionen (utils.nix)

Deployment-Strategien

Host Strategie Tool Beschreibung
cryodev-main Push-basiert deploy-rs via Forgejo Actions Sofortige Updates bei Push
cryodev-pi Pull-basiert Comin Pollt Repository auf Änderungen