# princedimond/otakuos architecture

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

- Interactive diagram: https://gitdiagram.com/princedimond/otakuos
- Repository: https://github.com/princedimond/otakuos

## Overview

This is a modular NixOS configuration repository, with host definitions and reusable system, user, desktop, and service modules. The tree identifies these areas, but no README or source excerpts were provided, so the exact imports, activation flow, and runtime integrations cannot be verified; the graph therefore shows components without speculative edges.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hosts["Host configurations"]
  node_pd_host["PD-19KDH72<br/>[configuration.nix]"]
  node_cache_host["otakuOS-cache<br/>[configuration.nix]"]
end

subgraph group_system["System foundations"]
  node_system_core["NixOS core<br/>[nixos-core.nix]"]
  node_system_base["System base<br/>[&#91;2&#93;system-base.nix]"]
  node_system_cli["CLI system<br/>[&#91;3&#93;system-cli.nix]"]
  node_system_desktop["Desktop system"]
  node_system_gaming["Gaming system"]
  node_hardware["Hardware modules"]
end

subgraph group_experience["User experience"]
  node_user_config["User configuration<br/>[configuration.nix]"]
  node_home_manager["Home Manager<br/>[home-manager.nix]"]
  node_cli_profile["CLI profile"]
  node_gui_profile["GUI profile"]
  node_gaming_profile["Gaming profile"]
  node_niri["Niri desktop<br/>[niri.nix]"]
  node_shell["Zsh shell<br/>[zsh.nix]"]
  node_themes["Theme modules"]
end

subgraph group_integrations["Services and tools"]
  node_network["Network services<br/>[networkManager.nix]"]
  node_ssh["SSH service<br/>[ssh.nix]"]
  node_cache_server["Cache server<br/>[cache-srv.nix]"]
  node_nix_tools["Nix integrations"]
  node_secrets["Encrypted secrets<br/>[secrets.nix]"]
end

click node_pd_host "https://github.com/princedimond/otakuos/blob/main/modules/hosts/PD-19KDH72/configuration.nix"
click node_cache_host "https://github.com/princedimond/otakuos/blob/main/modules/hosts/otakuOS-cache/configuration.nix"
click node_system_core "https://github.com/princedimond/otakuos/blob/main/modules/system/types/%5B1%5Dsystem-core/nixos/nixos-core.nix"
click node_system_base "https://github.com/princedimond/otakuos/blob/main/modules/system/types/%5B2%5Dsystem-base.nix"
click node_system_cli "https://github.com/princedimond/otakuos/blob/main/modules/system/types/%5B3%5Dsystem-cli.nix"
click node_system_desktop "https://github.com/princedimond/otakuos/blob/main/modules/system/types/%5B4%5Dsystem-desktop.nix"
click node_system_gaming "https://github.com/princedimond/otakuos/blob/main/modules/system/types/%5B5%5Dsystem-gaming.nix"
click node_hardware "https://github.com/princedimond/otakuos/tree/main/modules/system/hardware"
click node_user_config "https://github.com/princedimond/otakuos/blob/main/modules/users/princedimond/configuration.nix"
click node_home_manager "https://github.com/princedimond/otakuos/blob/main/modules/users/princedimond/home-manager/home-manager.nix"
click node_cli_profile "https://github.com/princedimond/otakuos/blob/main/modules/programs/princedimond/princedimond-cli/princedimond-cli.nix"
click node_gui_profile "https://github.com/princedimond/otakuos/blob/main/modules/programs/princedimond/princedimond-gui/princedimond-gui.nix"
click node_gaming_profile "https://github.com/princedimond/otakuos/blob/main/modules/programs/princedimond/princedimond-gaming/princedimond-gaming.nix"
click node_niri "https://github.com/princedimond/otakuos/blob/main/modules/programs/niri/niri.nix"
click node_shell "https://github.com/princedimond/otakuos/blob/main/modules/programs/shells/zsh/zsh.nix"
click node_themes "https://github.com/princedimond/otakuos/tree/main/modules/themes"
click node_network "https://github.com/princedimond/otakuos/blob/main/modules/services/networkManager.nix"
click node_ssh "https://github.com/princedimond/otakuos/blob/main/modules/services/ssh.nix"
click node_cache_server "https://github.com/princedimond/otakuos/blob/main/modules/servers/cache-srv.nix"
click node_nix_tools "https://github.com/princedimond/otakuos/tree/main/modules/nix/tools"
click node_secrets "https://github.com/princedimond/otakuos/blob/main/secrets/secrets.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_pd_host,node_cache_host toneBlue
class node_system_core,node_system_base,node_system_cli,node_system_desktop,node_system_gaming,node_hardware toneAmber
class node_user_config,node_home_manager,node_cli_profile,node_gui_profile,node_gaming_profile,node_niri,node_shell,node_themes toneMint
class node_network,node_ssh,node_cache_server,node_nix_tools,node_secrets toneRose
```

## Components

### Host configurations

- [PD-19KDH72](https://github.com/princedimond/otakuos/blob/main/modules/hosts/PD-19KDH72/configuration.nix): `modules/hosts/PD-19KDH72/configuration.nix`
- [otakuOS-cache](https://github.com/princedimond/otakuos/blob/main/modules/hosts/otakuOS-cache/configuration.nix): `modules/hosts/otakuOS-cache/configuration.nix`

### System foundations

- [NixOS core](https://github.com/princedimond/otakuos/blob/main/modules/system/types/%5B1%5Dsystem-core/nixos/nixos-core.nix): `modules/system/types/[1]system-core/nixos/nixos-core.nix`
- [System base](https://github.com/princedimond/otakuos/blob/main/modules/system/types/%5B2%5Dsystem-base.nix): `modules/system/types/[2]system-base.nix`
- [CLI system](https://github.com/princedimond/otakuos/blob/main/modules/system/types/%5B3%5Dsystem-cli.nix): `modules/system/types/[3]system-cli.nix`
- [Desktop system](https://github.com/princedimond/otakuos/blob/main/modules/system/types/%5B4%5Dsystem-desktop.nix): `modules/system/types/[4]system-desktop.nix`
- [Gaming system](https://github.com/princedimond/otakuos/blob/main/modules/system/types/%5B5%5Dsystem-gaming.nix): `modules/system/types/[5]system-gaming.nix`
- [Hardware modules](https://github.com/princedimond/otakuos/tree/main/modules/system/hardware): `modules/system/hardware`

### User experience

- [User configuration](https://github.com/princedimond/otakuos/blob/main/modules/users/princedimond/configuration.nix): `modules/users/princedimond/configuration.nix`
- [Home Manager](https://github.com/princedimond/otakuos/blob/main/modules/users/princedimond/home-manager/home-manager.nix): `modules/users/princedimond/home-manager/home-manager.nix`
- [CLI profile](https://github.com/princedimond/otakuos/blob/main/modules/programs/princedimond/princedimond-cli/princedimond-cli.nix): `modules/programs/princedimond/princedimond-cli/princedimond-cli.nix`
- [GUI profile](https://github.com/princedimond/otakuos/blob/main/modules/programs/princedimond/princedimond-gui/princedimond-gui.nix): `modules/programs/princedimond/princedimond-gui/princedimond-gui.nix`
- [Gaming profile](https://github.com/princedimond/otakuos/blob/main/modules/programs/princedimond/princedimond-gaming/princedimond-gaming.nix): `modules/programs/princedimond/princedimond-gaming/princedimond-gaming.nix`
- [Niri desktop](https://github.com/princedimond/otakuos/blob/main/modules/programs/niri/niri.nix): `modules/programs/niri/niri.nix`
- [Zsh shell](https://github.com/princedimond/otakuos/blob/main/modules/programs/shells/zsh/zsh.nix): `modules/programs/shells/zsh/zsh.nix`
- [Theme modules](https://github.com/princedimond/otakuos/tree/main/modules/themes): `modules/themes`

### Services and tools

- [Network services](https://github.com/princedimond/otakuos/blob/main/modules/services/networkManager.nix): `modules/services/networkManager.nix`
- [SSH service](https://github.com/princedimond/otakuos/blob/main/modules/services/ssh.nix): `modules/services/ssh.nix`
- [Cache server](https://github.com/princedimond/otakuos/blob/main/modules/servers/cache-srv.nix): `modules/servers/cache-srv.nix`
- [Nix integrations](https://github.com/princedimond/otakuos/tree/main/modules/nix/tools): `modules/nix/tools`
- [Encrypted secrets](https://github.com/princedimond/otakuos/blob/main/secrets/secrets.nix): `secrets/secrets.nix`
