# veriforian/dotfiles architecture

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

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

## Overview

This is a personal Omarchy dotfiles repository managed by chezmoi, with one configuration source adapted for personal and work-VM machines. The documented workflow is to initialize/apply it on a new machine, then edit or re-add files, review and apply changes, and commit/push through chezmoi. The repository also documents machine-specific templates, package/setup scripts, and shell, desktop, editor, and tool configuration. Relationships below are limited to those stated in the README; source excerpts were not available.

Main entry points: [`docs`](https://github.com/veriforian/dotfiles/tree/master/docs) (Usage documentation), [`run_onchange_before_10-install-packages.sh.tmpl`](https://github.com/veriforian/dotfiles/blob/master/run_onchange_before_10-install-packages.sh.tmpl) (Setup scripts), [`.chezmoiexternal.toml.tmpl`](https://github.com/veriforian/dotfiles/blob/master/.chezmoiexternal.toml.tmpl) (External repositories), [`.chezmoi.toml.tmpl`](https://github.com/veriforian/dotfiles/blob/master/.chezmoi.toml.tmpl) (Machine prompts)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_management["Chezmoi management"]
  node_chezmoi["chezmoi"]
  node_machine_template["Machine prompts<br/>[.chezmoi.toml.tmpl]"]
  node_docs["Usage documentation"]
end

subgraph group_setup["Machine setup"]
  node_machine_data["Package list<br/>[packages.yaml]"]
  node_setup_scripts["Setup scripts"]
  node_external_repos["External repositories"]
end

subgraph group_desktop["Desktop configuration"]
  node_desktop_configs["Desktop settings"]
  node_theme["Omarchy theme"]
  node_audio["Audio settings"]
end

subgraph group_developer["Developer environment"]
  node_shell["Shell configuration"]
  node_neovim["Neovim configuration"]
  node_tools["Developer tools"]
  node_ssh["SSH configuration"]
end

node_user(("User"))
node_machine(("Configured machine"))

node_user -->|"runs commands"| node_chezmoi
node_chezmoi -->|"reads prompts"| node_machine_template
node_chezmoi -->|"applies configuration"| node_machine
node_setup_scripts -->|"uses package list"| node_machine_data
node_external_repos -->|"clones repositories"| node_machine
node_docs -->|"documents workflow"| node_user

click node_machine_template "https://github.com/veriforian/dotfiles/blob/master/.chezmoi.toml.tmpl"
click node_machine_data "https://github.com/veriforian/dotfiles/blob/master/.chezmoidata/packages.yaml"
click node_setup_scripts "https://github.com/veriforian/dotfiles/blob/master/run_onchange_before_10-install-packages.sh.tmpl"
click node_external_repos "https://github.com/veriforian/dotfiles/blob/master/.chezmoiexternal.toml.tmpl"
click node_shell "https://github.com/veriforian/dotfiles/blob/master/dot_bashrc"
click node_desktop_configs "https://github.com/veriforian/dotfiles/tree/master/dot_config/hypr"
click node_theme "https://github.com/veriforian/dotfiles/tree/master/dot_config/omarchy"
click node_audio "https://github.com/veriforian/dotfiles/tree/master/dot_config/pipewire"
click node_neovim "https://github.com/veriforian/dotfiles/tree/master/dot_config/nvim"
click node_tools "https://github.com/veriforian/dotfiles/tree/master/dot_config"
click node_ssh "https://github.com/veriforian/dotfiles/tree/master/private_dot_ssh"
click node_docs "https://github.com/veriforian/dotfiles/tree/master/docs"

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_machine_template,node_docs,node_user toneBlue
class node_machine_data,node_setup_scripts,node_external_repos toneAmber
class node_desktop_configs,node_theme,node_audio toneMint
class node_shell,node_neovim,node_tools,node_ssh toneRose
class node_machine toneIndigo
```

## Components

### Chezmoi management

- **chezmoi**
- [Machine prompts](https://github.com/veriforian/dotfiles/blob/master/.chezmoi.toml.tmpl): `.chezmoi.toml.tmpl`
- [Usage documentation](https://github.com/veriforian/dotfiles/tree/master/docs): `docs`

### Machine setup

- [Package list](https://github.com/veriforian/dotfiles/blob/master/.chezmoidata/packages.yaml): `.chezmoidata/packages.yaml`
- [Setup scripts](https://github.com/veriforian/dotfiles/blob/master/run_onchange_before_10-install-packages.sh.tmpl): `run_onchange_before_10-install-packages.sh.tmpl`
- [External repositories](https://github.com/veriforian/dotfiles/blob/master/.chezmoiexternal.toml.tmpl): `.chezmoiexternal.toml.tmpl`

### Desktop configuration

- [Desktop settings](https://github.com/veriforian/dotfiles/tree/master/dot_config/hypr): `dot_config/hypr`
- [Omarchy theme](https://github.com/veriforian/dotfiles/tree/master/dot_config/omarchy): `dot_config/omarchy`
- [Audio settings](https://github.com/veriforian/dotfiles/tree/master/dot_config/pipewire): `dot_config/pipewire`

### Developer environment

- [Shell configuration](https://github.com/veriforian/dotfiles/blob/master/dot_bashrc): `dot_bashrc`
- [Neovim configuration](https://github.com/veriforian/dotfiles/tree/master/dot_config/nvim): `dot_config/nvim`
- [Developer tools](https://github.com/veriforian/dotfiles/tree/master/dot_config): `dot_config`
- [SSH configuration](https://github.com/veriforian/dotfiles/tree/master/private_dot_ssh): `private_dot_ssh`

### Other components

- **User**
- **Configured machine**

## Connections

- User → chezmoi: runs commands (evidence: `README.md`)
- chezmoi → Machine prompts: reads prompts (evidence: `README.md`)
- chezmoi → Configured machine: applies configuration (evidence: `README.md`)
- Setup scripts → Package list: uses package list (evidence: `README.md`)
- External repositories → Configured machine: clones repositories (evidence: `README.md`)
- Usage documentation → User: documents workflow (evidence: `README.md`)
