# c4patino/yumeami architecture

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

- Interactive diagram: https://gitdiagram.com/c4patino/yumeami
- Repository: https://github.com/c4patino/yumeami

## Overview

Yumeami is a personal NixOS and Home Manager configuration repository for several machines. The main workflow is to partition a target disk with the shared disko configuration, install or rebuild a host from the flake, and select enabled system and home modules for its environment. The tree also shows reusable desktop, development, service, and storage configurations; README feature descriptions identify several product capabilities. Source excerpts were unavailable, so edges are limited to relationships explicitly documented in the README.

Main entry points: [`flake.nix`](https://github.com/c4patino/yumeami/blob/main/flake.nix) (Nix flake), [`systems`](https://github.com/c4patino/yumeami/tree/main/systems) (NixOS hosts), [`homes`](https://github.com/c4patino/yumeami/tree/main/homes) (Home Manager hosts), [`systems/disko.nix`](https://github.com/c4patino/yumeami/blob/main/systems/disko.nix) (Disk layout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_provisioning["Provisioning"]
  node_disko["Disk layout<br/>[disko.nix]"]
  node_flake["Nix flake<br/>[flake.nix]"]
end

subgraph group_hosts["Host configurations"]
  node_system_hosts["NixOS hosts"]
  node_home_hosts["Home Manager hosts"]
end

subgraph group_modules["Reusable modules"]
  node_system_modules["NixOS modules"]
  node_home_modules["Home modules"]
  node_impermanence["Impermanence<br/>[default.nix]"]
  node_services["Host services"]
end

subgraph group_environments["User environments"]
  node_desktop["Desktop setup"]
  node_dev_shells["Dev environments"]
  node_neovim["Neovim setup<br/>[default.nix]"]
  node_yazi["Yazi setup<br/>[default.nix]"]
  node_eww["Eww task bar"]
  node_anyrun["Anyrun launcher<br/>[default.nix]"]
  node_spotify["Spotify setup<br/>[default.nix]"]
end

node_operator(("System operator"))

node_operator -->|"partitions with"| node_disko
node_operator -->|"installs from"| node_flake
node_operator -->|"rebuilds from"| node_flake
node_operator -->|"switches home"| node_flake
node_system_hosts -->|"enables modules"| node_system_modules
node_home_hosts -->|"enables modules"| node_home_modules

click node_disko "https://github.com/c4patino/yumeami/blob/main/systems/disko.nix"
click node_flake "https://github.com/c4patino/yumeami/blob/main/flake.nix"
click node_system_hosts "https://github.com/c4patino/yumeami/tree/main/systems"
click node_home_hosts "https://github.com/c4patino/yumeami/tree/main/homes"
click node_system_modules "https://github.com/c4patino/yumeami/tree/main/modules/nixos"
click node_home_modules "https://github.com/c4patino/yumeami/tree/main/modules/home"
click node_impermanence "https://github.com/c4patino/yumeami/blob/main/modules/nixos/services/storage/impermanence/default.nix"
click node_services "https://github.com/c4patino/yumeami/tree/main/modules/nixos/services"
click node_desktop "https://github.com/c4patino/yumeami/tree/main/modules/home/desktop"
click node_dev_shells "https://github.com/c4patino/yumeami/tree/main/shells/languages"
click node_neovim "https://github.com/c4patino/yumeami/blob/main/modules/home/cli/dev/neovim/default.nix"
click node_yazi "https://github.com/c4patino/yumeami/blob/main/modules/home/cli/media/yazi/default.nix"
click node_eww "https://github.com/c4patino/yumeami/tree/main/modules/home/desktop/env/shell/eww"
click node_anyrun "https://github.com/c4patino/yumeami/blob/main/modules/home/desktop/env/shell/launchers/anyrun/default.nix"
click node_spotify "https://github.com/c4patino/yumeami/blob/main/modules/home/desktop/apps/media/spotify/default.nix"

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_disko,node_flake toneBlue
class node_system_hosts,node_home_hosts toneAmber
class node_system_modules,node_home_modules,node_impermanence,node_services toneMint
class node_desktop,node_dev_shells,node_neovim,node_yazi,node_eww,node_anyrun,node_spotify toneRose
class node_operator toneIndigo
```

## Components

### Provisioning

- [Disk layout](https://github.com/c4patino/yumeami/blob/main/systems/disko.nix): `systems/disko.nix`
- [Nix flake](https://github.com/c4patino/yumeami/blob/main/flake.nix): `flake.nix`

### Host configurations

- [NixOS hosts](https://github.com/c4patino/yumeami/tree/main/systems): `systems`
- [Home Manager hosts](https://github.com/c4patino/yumeami/tree/main/homes): `homes`

### Reusable modules

- [NixOS modules](https://github.com/c4patino/yumeami/tree/main/modules/nixos): `modules/nixos`
- [Home modules](https://github.com/c4patino/yumeami/tree/main/modules/home): `modules/home`
- [Impermanence](https://github.com/c4patino/yumeami/blob/main/modules/nixos/services/storage/impermanence/default.nix): `modules/nixos/services/storage/impermanence/default.nix`
- [Host services](https://github.com/c4patino/yumeami/tree/main/modules/nixos/services): `modules/nixos/services`

### User environments

- [Desktop setup](https://github.com/c4patino/yumeami/tree/main/modules/home/desktop): `modules/home/desktop`
- [Dev environments](https://github.com/c4patino/yumeami/tree/main/shells/languages): `shells/languages`
- [Neovim setup](https://github.com/c4patino/yumeami/blob/main/modules/home/cli/dev/neovim/default.nix): `modules/home/cli/dev/neovim/default.nix`
- [Yazi setup](https://github.com/c4patino/yumeami/blob/main/modules/home/cli/media/yazi/default.nix): `modules/home/cli/media/yazi/default.nix`
- [Eww task bar](https://github.com/c4patino/yumeami/tree/main/modules/home/desktop/env/shell/eww): `modules/home/desktop/env/shell/eww`
- [Anyrun launcher](https://github.com/c4patino/yumeami/blob/main/modules/home/desktop/env/shell/launchers/anyrun/default.nix): `modules/home/desktop/env/shell/launchers/anyrun/default.nix`
- [Spotify setup](https://github.com/c4patino/yumeami/blob/main/modules/home/desktop/apps/media/spotify/default.nix): `modules/home/desktop/apps/media/spotify/default.nix`

### Other components

- **System operator**

## Connections

- System operator → Disk layout: partitions with (evidence: `README.md`)
- System operator → Nix flake: installs from (evidence: `README.md`)
- System operator → Nix flake: rebuilds from (evidence: `README.md`)
- System operator → Nix flake: switches home (evidence: `README.md`)
- NixOS hosts → NixOS modules: enables modules (evidence: `README.md`)
- Home Manager hosts → Home modules: enables modules (evidence: `README.md`)
