# zocketzero/dotfiles architecture

> Architecture diagram of the GitHub repository zocketzero/dotfiles, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/zocketzero/dotfiles
- Repository: https://github.com/zocketzero/dotfiles

## Overview

This is a chezmoi-managed personal Linux dotfiles repository. Its main workflow is initializing chezmoi on a machine and applying shell, editor, terminal, and Wayland desktop configuration; users can also invoke the documented utility and initialization scripts. The graph preserves the README’s other major capabilities, including container shortcuts, version management, and optional proxy configuration. No source excerpts were provided, so relationships are limited to those explicitly described in the README.

Main entry points: [`dot_zshrc`](https://github.com/zocketzero/dotfiles/blob/main/dot_zshrc) (Zsh configuration), [`dot_zshrc.d`](https://github.com/zocketzero/dotfiles/tree/main/dot_zshrc.d) (Zsh modules), [`bin`](https://github.com/zocketzero/dotfiles/tree/main/bin) (Initialization scripts), [`dot_bashrc`](https://github.com/zocketzero/dotfiles/blob/main/dot_bashrc) (Bash configuration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Setup &amp; Utilities"]
  node_chezmoi["chezmoi"]
  node_init_scripts["Initialization scripts"]
  node_script_tools["Utility scripts"]
end

subgraph group_shells["Shells &amp; Prompts"]
  node_zsh["Zsh configuration"]
  node_zsh_modules["Zsh modules<br/>[dot_zshrc.d]"]
  node_bash["Bash configuration"]
  node_nushell["Nushell configuration"]
  node_prompts["Prompt themes<br/>[dot_p10k.zsh]"]
  node_starship["Starship configuration<br/>[starship.toml]"]
end

subgraph group_desktop["Desktop &amp; Terminal"]
  node_kitty["Kitty configuration"]
  node_hyprland["Hyprland configuration"]
  node_waybar["Waybar configuration"]
end

subgraph group_editors["Editors"]
  node_nvim["Neovim configuration"]
  node_vim["Vim configuration"]
end

subgraph group_other["Other Configuration"]
  node_git["Git configuration"]
  node_jj["Jujutsu configuration"]
  node_graftcp["graftcp configuration"]
  node_external_deps["Shell dependencies"]
end

node_user(("User"))

node_user -->|"initializes and applies"| node_chezmoi
node_chezmoi -->|"applies dotfiles"| node_zsh
node_chezmoi -->|"applies dotfiles"| node_zsh_modules
node_chezmoi -->|"applies dotfiles"| node_bash
node_chezmoi -->|"applies dotfiles"| node_nushell
node_chezmoi -->|"applies dotfiles"| node_kitty
node_chezmoi -->|"applies dotfiles"| node_hyprland
node_chezmoi -->|"applies dotfiles"| node_waybar
node_chezmoi -->|"applies dotfiles"| node_nvim
node_chezmoi -->|"applies dotfiles"| node_vim
node_chezmoi -->|"applies dotfiles"| node_git
node_chezmoi -->|"applies dotfiles"| node_jj
node_chezmoi -->|"applies dotfiles"| node_graftcp
node_user -->|"runs setup"| node_init_scripts
node_user -->|"runs utilities"| node_script_tools
node_zsh -->|"loads modules"| node_zsh_modules
node_zsh -->|"loads prompt settings"| node_prompts
node_zsh -->|"uses prompt configuration"| node_starship
node_chezmoi -->|"declares dependencies"| node_external_deps

click node_init_scripts "https://github.com/zocketzero/dotfiles/tree/main/bin"
click node_script_tools "https://github.com/zocketzero/dotfiles/tree/main/bin"
click node_zsh "https://github.com/zocketzero/dotfiles/blob/main/dot_zshrc"
click node_zsh_modules "https://github.com/zocketzero/dotfiles/tree/main/dot_zshrc.d"
click node_bash "https://github.com/zocketzero/dotfiles/blob/main/dot_bashrc"
click node_nushell "https://github.com/zocketzero/dotfiles/tree/main/dot_config/nushell"
click node_prompts "https://github.com/zocketzero/dotfiles/blob/main/dot_p10k.zsh"
click node_starship "https://github.com/zocketzero/dotfiles/blob/main/dot_config/starship.toml"
click node_kitty "https://github.com/zocketzero/dotfiles/tree/main/dot_config/kitty"
click node_hyprland "https://github.com/zocketzero/dotfiles/tree/main/dot_config/hypr"
click node_waybar "https://github.com/zocketzero/dotfiles/tree/main/dot_config/waybar"
click node_nvim "https://github.com/zocketzero/dotfiles/tree/main/dot_config/nvim"
click node_vim "https://github.com/zocketzero/dotfiles/blob/main/dot_vimrc"
click node_git "https://github.com/zocketzero/dotfiles/blob/main/dot_gitconfig"
click node_jj "https://github.com/zocketzero/dotfiles/tree/main/dot_config/jj"
click node_graftcp "https://github.com/zocketzero/dotfiles/tree/main/dot_config/graftcp"
click node_external_deps "https://github.com/zocketzero/dotfiles/blob/main/.chezmoiexternal.toml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_chezmoi,node_init_scripts,node_script_tools,node_user toneBlue
class node_zsh,node_zsh_modules,node_bash,node_nushell,node_prompts,node_starship toneAmber
class node_kitty,node_hyprland,node_waybar toneMint
class node_nvim,node_vim toneRose
class node_git,node_jj,node_graftcp,node_external_deps toneIndigo
```

## Components

### Setup & Utilities

- **chezmoi**
- [Initialization scripts](https://github.com/zocketzero/dotfiles/tree/main/bin): `bin`
- [Utility scripts](https://github.com/zocketzero/dotfiles/tree/main/bin): `bin`

### Shells & Prompts

- [Zsh configuration](https://github.com/zocketzero/dotfiles/blob/main/dot_zshrc): `dot_zshrc`
- [Zsh modules](https://github.com/zocketzero/dotfiles/tree/main/dot_zshrc.d): `dot_zshrc.d`
- [Bash configuration](https://github.com/zocketzero/dotfiles/blob/main/dot_bashrc): `dot_bashrc`
- [Nushell configuration](https://github.com/zocketzero/dotfiles/tree/main/dot_config/nushell): `dot_config/nushell`
- [Prompt themes](https://github.com/zocketzero/dotfiles/blob/main/dot_p10k.zsh): `dot_p10k.zsh`
- [Starship configuration](https://github.com/zocketzero/dotfiles/blob/main/dot_config/starship.toml): `dot_config/starship.toml`

### Desktop & Terminal

- [Kitty configuration](https://github.com/zocketzero/dotfiles/tree/main/dot_config/kitty): `dot_config/kitty`
- [Hyprland configuration](https://github.com/zocketzero/dotfiles/tree/main/dot_config/hypr): `dot_config/hypr`
- [Waybar configuration](https://github.com/zocketzero/dotfiles/tree/main/dot_config/waybar): `dot_config/waybar`

### Editors

- [Neovim configuration](https://github.com/zocketzero/dotfiles/tree/main/dot_config/nvim): `dot_config/nvim`
- [Vim configuration](https://github.com/zocketzero/dotfiles/blob/main/dot_vimrc): `dot_vimrc`

### Other Configuration

- [Git configuration](https://github.com/zocketzero/dotfiles/blob/main/dot_gitconfig): `dot_gitconfig`
- [Jujutsu configuration](https://github.com/zocketzero/dotfiles/tree/main/dot_config/jj): `dot_config/jj`
- [graftcp configuration](https://github.com/zocketzero/dotfiles/tree/main/dot_config/graftcp): `dot_config/graftcp`
- [Shell dependencies](https://github.com/zocketzero/dotfiles/blob/main/.chezmoiexternal.toml): `.chezmoiexternal.toml`

### Other components

- **User**

## Connections

- User → chezmoi: initializes and applies (evidence: `README.md`)
- chezmoi → Zsh configuration: applies dotfiles (evidence: `README.md`)
- chezmoi → Zsh modules: applies dotfiles (evidence: `README.md`)
- chezmoi → Bash configuration: applies dotfiles (evidence: `README.md`)
- chezmoi → Nushell configuration: applies dotfiles (evidence: `README.md`)
- chezmoi → Kitty configuration: applies dotfiles (evidence: `README.md`)
- chezmoi → Hyprland configuration: applies dotfiles (evidence: `README.md`)
- chezmoi → Waybar configuration: applies dotfiles (evidence: `README.md`)
- chezmoi → Neovim configuration: applies dotfiles (evidence: `README.md`)
- chezmoi → Vim configuration: applies dotfiles (evidence: `README.md`)
- chezmoi → Git configuration: applies dotfiles (evidence: `README.md`)
- chezmoi → Jujutsu configuration: applies dotfiles (evidence: `README.md`)
- chezmoi → graftcp configuration: applies dotfiles (evidence: `README.md`)
- User → Initialization scripts: runs setup (evidence: `README.md`)
- User → Utility scripts: runs utilities (evidence: `README.md`)
- Zsh configuration → Zsh modules: loads modules (evidence: `README.md`)
- Zsh configuration → Prompt themes: loads prompt settings (evidence: `README.md`)
- Zsh configuration → Starship configuration: uses prompt configuration (evidence: `README.md`)
- chezmoi → Shell dependencies: declares dependencies (evidence: `README.md`)
