How mimikun/dotfiles works
Main Components
a. Core Management Layer:
• Chezmoi (Central configuration manager)
• File Structure Manager
• Template Engine (*.tmpl files)
b. Configuration Categories:
• Shell Environments (Fish, Zsh, Bash, PowerShell)
• Editor Configurations (Neovim, Vim, Emacs)
• Terminal Emulators (Alacritty, WezTerm, etc.)
• Window Managers (i3, komorebi)
• Development Tools (Git, SSH, etc.)
c. Platform-Specific Components:
• Linux-specific configurations
• Windows-specific configurations
• WSL configurations
• macOS configurations (planned)
Relationship Flow
┌─────────────────────────────────────────────────────────────┐
• Chezmoi Core Layer │
• ┤
• Template Engine │
• File Management │
• Platform Detection │
• ┬─────────────────────┬────────────────────────┘
• ▼ ▼
┌─────────────────────┐ ┌──────────────────────┐
• Common Configs │ │ Platform Specific │
• ┤ ├──────────────────────┤
• Shell │ │ - Linux Scripts │
• Editor │ │ - Windows Scripts │
• Git │ │ - WSL Configs │
• SSH │ │ - macOS (planned) │
• ┘ └──────────────────────┘
• ▼ ▼
┌─────────────────────────────────────────────────────────────┐
• Application Configs │
• ┤
• Terminal Emulators (Alacritty, WezTerm) │
• Development Tools │
• Window Managers │
• Utility Scripts │
• ┘
Important Elements to Highlight
• Template System (.tmpl files)
• Platform-specific scripts (.chezmoiscripts directory)
• Configuration hierarchy
• Cross-platform compatibility
• Utility scripts and tools
Implementation Details
• Version tags and update mechanisms
Maintenance Flows
Update and maintenance processes:
• GitHub Actions workflows
• Package management (cargo, pip, etc.)
• Configuration synchronization
• Backup mechanisms