Skip to content

Architecture OverviewΒΆ

This diagram represents the high-level data flow and component structure of the dotfiles ecosystem.

graph TD
    subgraph "Bootstrap Layer"
        A[bootstrap script] --> B{Fresh Install?}
        B -->|Yes| C[Install chezmoi + mise]
        B -->|No| D[Update existing]
    end

    subgraph "Chezmoi Layer"
        C --> E[chezmoi init]
        D --> E
        E --> F[Template Rendering]
        F -->|OS Detection| G{Platform}
        G -->|Arch/EndeavourOS| H[Pacman/AUR]
        G -->|Ubuntu/Debian| I[Apt]
        G -->|macOS| J[Homebrew]
        F -->|Secrets| K[age decrypt]
    end

    subgraph "Mise Layer"
        H --> L[mise.toml]
        I --> L
        J --> L
        L --> M[CLI Tools<br/>bat, eza, fzf, etc.]
        L --> N[Environment Variables<br/>PATH, EDITOR, etc.]
        L --> O[Tasks<br/>install, doctor, test]
    end

    subgraph "Result"
        M --> P[Development Environment]
        N --> P
        O --> P
        K --> P
    end