Files
second-brain/01-plans/homelab/server-24-7/folder-structure-reorganization.md
kiskaadee 4e0dfe0c8c
Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 7s
docs(references): rewrite cross-vault relative links against path manifest
2026-09-28 15:58:25 -05:00

2.4 KiB

type, status, project, tags
type status project tags
plan completed homelab
operations
architecture
homelab
server
storage
hygiene

📁 Server Folder Structure & Production Hygiene

🎯 Objective

Establish clear, unambiguous directory boundaries across both the Server and Laptop to prevent development clutter from mixing with 24/7 production services.


🗺️ Realized Production Layout

Note

The initial proposal for a monolithic ~/Deployments directory was superseded by the decoupled ~/Core and ~/Sites architecture documented in Homelab Architecture: Appctl & Decentralized Repositories and executed in Core & Sites Cutover and Testing Plan.

🖥️ Production Server Layout (~/)

~/
├── Core/                      # Hardened Ingress & Gateway (Traefik, Authelia, Socket-Proxy)
├── Sites/                     # Decentralized micro-repositories for each container stack
├── Brain/                     # Synced personal knowledge base & operational docs
├── Config/                    # NixOS declarative configuration (hosts/server)
└── Media/                     # High-capacity media storage for Jellyfin (/media)

Rules for Server:

  • No active development trees, compiler build caches (target/, node_modules/ in home root), or transient scratchpads.
  • All running services run as containers orchestrated via appctl or declarative systemd units.

💻 Laptop Workstation Layout (~/)

~/
├── Projects/                  # Active source code repositories
│   └── active/                # Current work trees (e.g. homelab micro-repos, new-repo, dynu-monitor)
├── Learn/                     # Backend residency and study coursework
├── Experiments/               # Prototypes, spike tests, scratchpads
├── Brain/                     # Local canonical knowledge graph vault
├── Config/                    # NixOS configuration repository (hosts/laptop)
└── Downloads/ / Pictures/     # Standard user directories