docker-compose-to-nixos
Installation
SKILL.md
Docker Compose to NixOS Module
This skill converts Docker Compose configurations to NixOS modules following the dendritic pattern used in this repository.
Dendritic Pattern Overview
The dendritic pattern organizes modules by aspect (functionality) rather than class (nixos/home/shared):
- File:
modules/services/service-name.nix(NOTmodules/nixos/services/service-name.nix) - Contains both nixosModules and homeModules in the same file
- Flake inputs defined in module files, materialized with
nix run '.#write-flake' - Every module MUST have a unique
keyattribute for deduplication
Conversion Workflow
Follow this checklist when converting a docker-compose.yaml: