# nv8v/workstation architecture

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

- Interactive diagram: https://gitdiagram.com/nv8v/workstation
- Repository: https://github.com/nv8v/workstation

## Overview

This repository is a personal Arch Linux workstation setup: configuration files, package inventories, and scripts for bootstrapping, deploying, and backing up a machine. The documented fresh-install workflow installs packages and extensions, links configuration, and enables services; users can also link configs independently or sync active changes back. Configuration suites represent the major desktop and application capabilities. Source excerpts were unavailable, so relationships are limited to those explicitly described in the README.

Main entry points: [`scripts/link-configs.sh`](https://github.com/nv8v/workstation/blob/main/scripts/link-configs.sh) (Config linker), [`scripts/install.sh`](https://github.com/nv8v/workstation/blob/main/scripts/install.sh) (Fresh install), [`scripts/backup.sh`](https://github.com/nv8v/workstation/blob/main/scripts/backup.sh) (Config backup), [`configs/hypr`](https://github.com/nv8v/workstation/tree/main/configs/hypr) (Hyprland desktop)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Setup and sync"]
  node_installer["Fresh install<br/>[install.sh]"]
  node_linker["Config linker<br/>[link-configs.sh]"]
  node_backup["Config backup<br/>[backup.sh]"]
end

subgraph group_desktop["Desktop environment"]
  node_hypr["Hyprland desktop"]
  node_waybar["Waybar status bar"]
  node_rofi["Rofi menus"]
  node_swaync["Notifications"]
  node_wlogout["Logout menu"]
  node_gtkqt["GTK and Qt themes"]
end

subgraph group_apps["Applications and tools"]
  node_shells["Shell environments"]
  node_terminal["Terminal config"]
  node_vscode["VS Code config"]
  node_fastfetch["System info presets"]
  node_otherconfigs["Other app configs"]
end

subgraph group_inventory["Package inventory"]
  node_pkglist["Package lists"]
  node_vscodeext["VS Code extensions"]
  node_appcatalog["App catalog<br/>[APPS.md]"]
end

node_user(("Workstation user"))
node_system["Arch workstation"]
node_services["System services"]

node_user -->|"runs setup"| node_installer
node_installer -->|"reads packages"| node_pkglist
node_installer -->|"installs extensions"| node_vscodeext
node_installer -->|"links configs"| node_linker
node_installer -->|"enables services"| node_services
node_installer -->|"installs software"| node_system
node_user -->|"deploys configs"| node_linker
node_linker -->|"links config"| node_hypr
node_linker -->|"links config"| node_waybar
node_linker -->|"links config"| node_rofi
node_linker -->|"links config"| node_swaync
node_linker -->|"links config"| node_wlogout
node_linker -->|"links config"| node_gtkqt
node_linker -->|"links config"| node_shells
node_linker -->|"links config"| node_terminal
node_linker -->|"links config"| node_vscode
node_linker -->|"links config"| node_fastfetch
node_linker -->|"links config"| node_otherconfigs
node_user -->|"syncs changes"| node_backup
node_backup -->|"reads active config"| node_system
node_backup -->|"syncs package lists"| node_pkglist
node_backup -->|"syncs configurations"| node_hypr

click node_installer "https://github.com/nv8v/workstation/blob/main/scripts/install.sh"
click node_linker "https://github.com/nv8v/workstation/blob/main/scripts/link-configs.sh"
click node_backup "https://github.com/nv8v/workstation/blob/main/scripts/backup.sh"
click node_pkglist "https://github.com/nv8v/workstation/tree/main/packages"
click node_vscodeext "https://github.com/nv8v/workstation/blob/main/packages/vscode-extensions.txt"
click node_appcatalog "https://github.com/nv8v/workstation/blob/main/packages/APPS.md"
click node_hypr "https://github.com/nv8v/workstation/tree/main/configs/hypr"
click node_waybar "https://github.com/nv8v/workstation/tree/main/configs/waybar"
click node_rofi "https://github.com/nv8v/workstation/tree/main/configs/rofi"
click node_swaync "https://github.com/nv8v/workstation/tree/main/configs/swaync"
click node_wlogout "https://github.com/nv8v/workstation/tree/main/configs/wlogout"
click node_gtkqt "https://github.com/nv8v/workstation/tree/main/configs"
click node_shells "https://github.com/nv8v/workstation/tree/main/configs"
click node_terminal "https://github.com/nv8v/workstation/tree/main/configs/kitty"
click node_vscode "https://github.com/nv8v/workstation/tree/main/configs/vscode"
click node_fastfetch "https://github.com/nv8v/workstation/tree/main/configs/fastfetch"
click node_otherconfigs "https://github.com/nv8v/workstation/tree/main/configs"

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_installer,node_linker,node_backup,node_user toneBlue
class node_hypr,node_waybar,node_rofi,node_swaync,node_wlogout,node_gtkqt toneAmber
class node_shells,node_terminal,node_vscode,node_fastfetch,node_otherconfigs toneMint
class node_pkglist,node_vscodeext,node_appcatalog toneRose
class node_system,node_services toneIndigo
```

## Components

### Setup and sync

- [Fresh install](https://github.com/nv8v/workstation/blob/main/scripts/install.sh): `scripts/install.sh`
- [Config linker](https://github.com/nv8v/workstation/blob/main/scripts/link-configs.sh): `scripts/link-configs.sh`
- [Config backup](https://github.com/nv8v/workstation/blob/main/scripts/backup.sh): `scripts/backup.sh`

### Desktop environment

- [Hyprland desktop](https://github.com/nv8v/workstation/tree/main/configs/hypr): `configs/hypr`
- [Waybar status bar](https://github.com/nv8v/workstation/tree/main/configs/waybar): `configs/waybar`
- [Rofi menus](https://github.com/nv8v/workstation/tree/main/configs/rofi): `configs/rofi`
- [Notifications](https://github.com/nv8v/workstation/tree/main/configs/swaync): `configs/swaync`
- [Logout menu](https://github.com/nv8v/workstation/tree/main/configs/wlogout): `configs/wlogout`
- [GTK and Qt themes](https://github.com/nv8v/workstation/tree/main/configs): `configs`

### Applications and tools

- [Shell environments](https://github.com/nv8v/workstation/tree/main/configs): `configs`
- [Terminal config](https://github.com/nv8v/workstation/tree/main/configs/kitty): `configs/kitty`
- [VS Code config](https://github.com/nv8v/workstation/tree/main/configs/vscode): `configs/vscode`
- [System info presets](https://github.com/nv8v/workstation/tree/main/configs/fastfetch): `configs/fastfetch`
- [Other app configs](https://github.com/nv8v/workstation/tree/main/configs): `configs`

### Package inventory

- [Package lists](https://github.com/nv8v/workstation/tree/main/packages): `packages`
- [VS Code extensions](https://github.com/nv8v/workstation/blob/main/packages/vscode-extensions.txt): `packages/vscode-extensions.txt`
- [App catalog](https://github.com/nv8v/workstation/blob/main/packages/APPS.md): `packages/APPS.md`

### Other components

- **Workstation user**
- **Arch workstation**
- **System services**

## Connections

- Workstation user → Fresh install: runs setup (evidence: `README.md`)
- Fresh install → Package lists: reads packages (evidence: `README.md`)
- Fresh install → VS Code extensions: installs extensions (evidence: `README.md`)
- Fresh install → Config linker: links configs (evidence: `README.md`)
- Fresh install → System services: enables services (evidence: `README.md`)
- Fresh install → Arch workstation: installs software (evidence: `README.md`)
- Workstation user → Config linker: deploys configs (evidence: `README.md`)
- Config linker → Hyprland desktop: links config (evidence: `README.md`)
- Config linker → Waybar status bar: links config (evidence: `README.md`)
- Config linker → Rofi menus: links config (evidence: `README.md`)
- Config linker → Notifications: links config (evidence: `README.md`)
- Config linker → Logout menu: links config (evidence: `README.md`)
- Config linker → GTK and Qt themes: links config (evidence: `README.md`)
- Config linker → Shell environments: links config (evidence: `README.md`)
- Config linker → Terminal config: links config (evidence: `README.md`)
- Config linker → VS Code config: links config (evidence: `README.md`)
- Config linker → System info presets: links config (evidence: `README.md`)
- Config linker → Other app configs: links config (evidence: `README.md`)
- Workstation user → Config backup: syncs changes (evidence: `README.md`)
- Config backup → Arch workstation: reads active config (evidence: `README.md`)
- Config backup → Package lists: syncs package lists (evidence: `README.md`)
- Config backup → Hyprland desktop: syncs configurations (evidence: `README.md`)
