--- type: plan status: active 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. --- ## πŸ—ΊοΈ Standardized Directory Layout ### πŸ–₯️ Production Server Layout ```text /home/kiskaadee/ β”œβ”€β”€ Config/ # NixOS declarative configuration for this host β”œβ”€β”€ Deployments/ # Or Production/ - Live Docker compose services (Git tracked) β”‚ β”œβ”€β”€ core/ # Ingress (Traefik, Authelia, Socket-Proxy) β”‚ β”œβ”€β”€ apps/ # Individual standalone services β”‚ └── data/ # Persistent volumes or bind-mount configs β”œβ”€β”€ Media/ # Jellyfin media libraries, recordings, storage └── second-brain/ # Synced knowledge base & operational docs ``` *Rule for Server*: - **No** active development trees, compiler build caches (`target/`, `node_modules/` in home), or transient scratchpads. - All running services run as containers or declarative systemd units. --- ### πŸ’» Laptop Workstation Layout ```text /home/kiskaadee/ β”œβ”€β”€ Config/ # Shared NixOS repository (laptop configuration) β”œβ”€β”€ Projects/ # Active source code repositories β”œβ”€β”€ Learn/ # Backend residency and study coursework β”œβ”€β”€ Experiments/ # Prototypes, spike tests, scratchpads β”œβ”€β”€ second-brain/ # Personal notes & architecture plans └── Downloads/ / Pictures/ # Standard user directories ```