Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 5s
Document legacy desktop derivation retirement, SOPS hierarchical secrets restructuring, and provide execution walkthrough guides for NixOS fleet management.
3.3 KiB
3.3 KiB
type, status, tags
| type | status | tags | ||||
|---|---|---|---|---|---|---|
| project | active |
|
❄️ NixOS Fleet & Declarative System Configuration
🎯 Project Overview
This project documents the architecture, flake hierarchy, host specializations, module designs, and operational maintenance for the multi-machine NixOS fleet managed in /home/kiskaadee/Config.
The fleet operates under a unified Nix Flake repository supporting declarative system rebuilds, user-space management via Home Manager, and encrypted secrets via SOPS-nix.
🏛️ System Topology & Host Matrix
graph TD
Flake["Config Flake (flake.nix)"] --> Hosts["hosts/"]
Flake --> Modules["modules/"]
Hosts --> Server["hosts/server (Headless 24/7 Server)"]
Hosts --> Laptop["hosts/laptop (Mobile Dev Workstation)"]
Modules --> CoreMod["Core System Modules (nix, security, locale)"]
Modules --> UserMod["Home Manager Modules (shell, git, neovim)"]
Modules --> DesktopMod["Desktop Modules (niri, wayland, audio)"]
Server -.->|"headless, docker, sops"| CoreMod
Laptop -.->|"graphical, devtools"| DesktopMod
Laptop -.-> UserMod
| Host | Role | Environment | Key Subsystems |
|---|---|---|---|
server |
24/7 Homelab Host | Headless Server | Docker daemon, Traefik, Socket-Proxy, homelab-gitops, SOPS Age secrets, Dynu DDNS |
laptop |
Primary Workstation | Graphical Wayland | Niri / Hyprland, Waybar, Alacritty, DevShells, Git/SSH keys, local LLM/GUI clients |
📑 Plans & Execution Roadmaps
- 🟡 Adopting Official channels.nixos.org Tarballs
[Active]- Transitioning from GitHub-hosted Nixpkgs flake inputs to official
channels.nixos.orgzstd-compressed archives. - Flake registry pinning and evaluation speedup analysis.
- Transitioning from GitHub-hosted Nixpkgs flake inputs to official
- 🟢 Decommission Legacy Desktop Derivation
[Completed]- Pruned
hosts/desktop/andnixosConfigurations.desktopto standardize on a 2-host fleet (serverandlaptop).
- Pruned
- 🟢 SOPS Secrets Restructuring & Multi-User Authelia Support
[Completed]- Migrated flat SOPS secrets to service-scoped namespaces and added declarative Nix user database rendering.
📑 Guides & Reference Documentation
- Transitioning to Official channels.nixos.org Tarballs Walkthrough
- Flake input migration, base registry pinning, and dry-build verification.
- Decommissioning the Legacy Desktop Derivation Walkthrough
- Host removal validation, architecture doc sync, and dry builds.
- SOPS Secrets Restructuring & Multi-User Authelia Walkthrough
- Secret hierarchy re-encryption, template generation, and host dry-build verification.
🏛️ Architectural Discussions & Records
🔗 Related Projects & Locations
- Local Flake Repository:
/home/kiskaadee/Config - Homelab Services Project: Homelab & Infrastructure Planning