Added spezcific cline rules to the framework repo.

This commit is contained in:
2026-05-10 22:24:21 +02:00
parent c53d997d07
commit d165d2c583
7 changed files with 143 additions and 0 deletions
@@ -0,0 +1,16 @@
# Project Rules: nixos-infra
## Directories
### Public framework repo (nixos-infra-framework)
- `/nixos-infra-framework/modules/machine-types`: Nix modules standardizing different host types (hypervisor, VM, LXC, workstations, etc.).
- `/nixos-infra-framework/modules/services`: Nix modules standardizing different network infrastructure services (DNS, git-forge, password-manager, reverse-proxy, etc.).
- `/nixos-infra-framework/modules/user-profiles`: Nix modules standardizing different user profiles (admin, dev, office, etc.).
- `/nixos-infra-framework/overlays`: Nix overlays (last resort).
- `/nixos-infra-framework/pkgs`: Custom packages not present in Nixpkgs.
- `/nixos-infra-framework/lib`: Nix utility functions.
- `/nixos-infra-framework/scripts`: Generic operational scripts (deploy, create-lxc, etc.).
- `/nixos-infra-framework/environments/sample`: Example environment for onboarding.
The entry point for each machine is `environments/<env>/hosts/<servers|workstations>/<hostname>/configuration.nix`.
Modules are imported via `fetchGit` from the framework repo.