skills/smithery.ai/docker-compose-to-nixos

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 (NOT modules/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 key attribute for deduplication

Conversion Workflow

Follow this checklist when converting a docker-compose.yaml:

Installs
1
First Seen
Apr 27, 2026
docker-compose-to-nixos from smithery.ai