Add YAML frontmatter to all 54 retained markdown documents. Frontmatter schema is type-specific — no universal status field. Type contracts applied: - knowledge: type + status (draft|stable) + topics - project: type + status (planned|active|paused|completed) - plan: type + status + project context - guide: type + project context (no lifecycle status) - journal: type + date (no status — journals are historical by definition) - practice: type + status (completed|active) + topics - inbox: type + created date 54 documents tagged across: knowledge/concepts/ (3) knowledge/technologies/ (7, including python/ subdirectory with 4) knowledge/methods/ (6) projects/homelab/ (1 overview + 6 plans + 6 guides) projects/magnetflix/ (1) projects/nekoweb/ (1) records/journal/ (7) practice/LeetCode/ (14) inbox/ (1)
44 lines
1.6 KiB
Markdown
44 lines
1.6 KiB
Markdown
---
|
|
type: plan
|
|
status: active
|
|
project: homelab
|
|
---
|
|
|
|
# 📁 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
|
|
```
|