Files
second-brain/homelab
..

🌐 Homelab & Infrastructure Planning

This section documents the architectural roadmaps, infrastructure designs, deployment automation, and system administration workflows for the homelab ecosystem.


📑 Index of Plans

  1. NixOS Server & Laptop Migration
    • Converting the desktop into a 24/7 headless production server.
    • Setting up the laptop as the primary graphical development workstation.
    • Decoupling visual configurations (Niri, Hyprland, Waybar, GUI apps) from the server.
  2. Domain Migration (roadtotech.me)
    • Step-by-step strategy for cutting over from arch-services.mywire.org to roadtotech.me.
    • DNS delegation options (Dynu vs. Cloudflare), Traefik ACME wildcard SSL, and Authelia session cookie updates.
  3. Core & Sites Cutover and Testing Plan
    • Zero-downtime, progressive testing and safe cutover guide from ~/Deployments to ~/Core and ~/Sites.
    • Complete pre-flight verification matrix, rollback commands, and post-validation cleanup.
  4. Homelab Infrastructure & Appctl Architecture
    • Making appctl a first-class homelab orchestrator.
    • Decoupling monolithic deployments into individual standalone Git repositories.
  5. CI/CD & Deployment Strategy
    • Automating image builds, GitOps updates, Gitea Actions/GitHub Actions, and production rollouts.
  6. Production Folder Structure Reorganization
    • Establishing strict directory boundaries (/home/kiskaadee/Production, /home/kiskaadee/Deployments, /home/kiskaadee/Projects).
    • Removing development traces and non-production scratchpads from the server.
  7. appctl Refactor & Decentralized app.yaml Metadata Architecture
    • Decentralizing service configurations into individual app repositories.
    • Clean service aliases, enhanced status listing, and dynamic Homepage services.yaml generation.
  8. appctl Git Synchronization & Full-Stack Lifecycle Strategy
    • Real-time Git sync status in appctl list (✓ Synced, ⬆ Ahead, ⬇ Behind, * Dirty).
    • Network fetch support (--fetch) and atomic stack upgrade workflow (appctl update).
  9. Custom API Security Hardening & Threat Analysis
    • Attack surface review and actionable hardening roadmap for custom endpoints (learning-hub, minecraft-web-admin).
    • Authelia ForwardAuth integration, rate limiting, and JWT fail-fast validation.
  10. Real-Time Brain Synchronization & Gitea Push Mirroring
    • Zero-overhead markdown synchronization architecture between laptop and server using Gitea push mirroring.
    • Systemd timer reconciliation, instant doc2site reflection, and GitHub offsite backup.