--- type: plan status: completed project: homelab tags: - 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](../../guides/appctl-operations-and-manifest-guide.md) and executed in [Core & Sites Cutover and Testing Plan](../../archive/core-sites-cutover-testing-plan.md). ### πŸ–₯️ Production Server Layout (`/home/kiskaadee/`) ```text /home/kiskaadee/ β”œβ”€β”€ 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 (`/home/kiskaadee/`) ```text /home/kiskaadee/ β”œβ”€β”€ 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 ``` --- ## πŸ”— Related Documents * [Homelab Architecture: Appctl & Decentralized Repositories](../../guides/appctl-operations-and-manifest-guide.md) * [Core & Sites Cutover and Testing Plan](../../archive/core-sites-cutover-testing-plan.md)