# mrbroggle/nix architecture

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

- Interactive diagram: https://gitdiagram.com/mrbroggle/nix
- Repository: https://github.com/mrbroggle/nix

## Overview

This repository appears to define personal NixOS and Home Manager configurations for laptop, desktop, and WSL hosts, covering system setup, desktop environments, applications, and user settings. The tree supports these subsystem boundaries, but no README or source excerpts were provided to establish imports, evaluation flow, or runtime relationships; edges are therefore omitted rather than inferred.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_profiles["Host profiles"]
  node_flake["Flake entry<br/>[flake.nix]"]
  node_configuration["System entry<br/>[configuration.nix]"]
  node_laptop["Laptop profile<br/>[laptop-nixos.nix]"]
  node_pc["PC profile<br/>[pc-nixos.nix]"]
  node_wsl["WSL profile<br/>[wsl-nixos.nix]"]
end

subgraph group_system["System configuration"]
  node_system_modules["System modules"]
  node_system_security["Security settings<br/>[security.nix]"]
  node_system_network["Networking<br/>[networking.nix]"]
  node_system_audio["Audio<br/>[audio.nix]"]
  node_system_user["User setup<br/>[user.nix]"]
end

subgraph group_desktop["Desktop environments"]
  node_desktop_modules["Desktop modules"]
  node_hyprland["Hyprland setup<br/>[hyprland.nix]"]
  node_niri["Niri setup<br/>[niri.nix]"]
  node_kde["KDE setup<br/>[kde6.nix]"]
end

subgraph group_home["Home environment"]
  node_home_entry["Home entry<br/>[home.nix]"]
  node_home_cli["CLI settings<br/>[cli.nix]"]
  node_home_shell["Shell settings<br/>[shell.nix]"]
  node_home_apps["Home applications<br/>[desktopApps.nix]"]
  node_home_wm["Window manager settings<br/>[hyprland.nix]"]
  node_wayland_common["Wayland utilities"]
  node_apps["Application modules"]
  node_host_home["Host home settings<br/>[home.nix]"]
end

click node_flake "https://github.com/mrbroggle/nix/blob/master/flake.nix"
click node_configuration "https://github.com/mrbroggle/nix/blob/master/configuration.nix"
click node_laptop "https://github.com/mrbroggle/nix/blob/master/host/laptop-nixos.nix"
click node_pc "https://github.com/mrbroggle/nix/blob/master/host/pc-nixos.nix"
click node_wsl "https://github.com/mrbroggle/nix/blob/master/host/wsl-nixos.nix"
click node_system_modules "https://github.com/mrbroggle/nix/tree/master/modules/system"
click node_system_security "https://github.com/mrbroggle/nix/blob/master/modules/system/security.nix"
click node_system_network "https://github.com/mrbroggle/nix/blob/master/modules/system/networking.nix"
click node_system_audio "https://github.com/mrbroggle/nix/blob/master/modules/system/audio.nix"
click node_system_user "https://github.com/mrbroggle/nix/blob/master/modules/system/user.nix"
click node_desktop_modules "https://github.com/mrbroggle/nix/tree/master/modules/desktops"
click node_hyprland "https://github.com/mrbroggle/nix/blob/master/modules/desktops/hyprland.nix"
click node_niri "https://github.com/mrbroggle/nix/blob/master/modules/desktops/niri.nix"
click node_kde "https://github.com/mrbroggle/nix/blob/master/modules/desktops/kde6.nix"
click node_home_entry "https://github.com/mrbroggle/nix/blob/master/home.nix"
click node_home_cli "https://github.com/mrbroggle/nix/blob/master/home/cli.nix"
click node_home_shell "https://github.com/mrbroggle/nix/blob/master/home/shell.nix"
click node_home_apps "https://github.com/mrbroggle/nix/blob/master/home/desktopApps.nix"
click node_home_wm "https://github.com/mrbroggle/nix/blob/master/home/hyprland/wm/hyprland.nix"
click node_wayland_common "https://github.com/mrbroggle/nix/tree/master/home/waylandCommon"
click node_apps "https://github.com/mrbroggle/nix/tree/master/modules/apps"
click node_host_home "https://github.com/mrbroggle/nix/blob/master/host/laptop-nixos/home.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_flake,node_configuration,node_laptop,node_pc,node_wsl toneBlue
class node_system_modules,node_system_security,node_system_network,node_system_audio,node_system_user toneAmber
class node_desktop_modules,node_hyprland,node_niri,node_kde toneMint
class node_home_entry,node_home_cli,node_home_shell,node_home_apps,node_home_wm,node_wayland_common,node_apps,node_host_home toneRose
```

## Components

### Host profiles

- [Flake entry](https://github.com/mrbroggle/nix/blob/master/flake.nix): `flake.nix`
- [System entry](https://github.com/mrbroggle/nix/blob/master/configuration.nix): `configuration.nix`
- [Laptop profile](https://github.com/mrbroggle/nix/blob/master/host/laptop-nixos.nix): `host/laptop-nixos.nix`
- [PC profile](https://github.com/mrbroggle/nix/blob/master/host/pc-nixos.nix): `host/pc-nixos.nix`
- [WSL profile](https://github.com/mrbroggle/nix/blob/master/host/wsl-nixos.nix): `host/wsl-nixos.nix`

### System configuration

- [System modules](https://github.com/mrbroggle/nix/tree/master/modules/system): `modules/system`
- [Security settings](https://github.com/mrbroggle/nix/blob/master/modules/system/security.nix): `modules/system/security.nix`
- [Networking](https://github.com/mrbroggle/nix/blob/master/modules/system/networking.nix): `modules/system/networking.nix`
- [Audio](https://github.com/mrbroggle/nix/blob/master/modules/system/audio.nix): `modules/system/audio.nix`
- [User setup](https://github.com/mrbroggle/nix/blob/master/modules/system/user.nix): `modules/system/user.nix`

### Desktop environments

- [Desktop modules](https://github.com/mrbroggle/nix/tree/master/modules/desktops): `modules/desktops`
- [Hyprland setup](https://github.com/mrbroggle/nix/blob/master/modules/desktops/hyprland.nix): `modules/desktops/hyprland.nix`
- [Niri setup](https://github.com/mrbroggle/nix/blob/master/modules/desktops/niri.nix): `modules/desktops/niri.nix`
- [KDE setup](https://github.com/mrbroggle/nix/blob/master/modules/desktops/kde6.nix): `modules/desktops/kde6.nix`

### Home environment

- [Home entry](https://github.com/mrbroggle/nix/blob/master/home.nix): `home.nix`
- [CLI settings](https://github.com/mrbroggle/nix/blob/master/home/cli.nix): `home/cli.nix`
- [Shell settings](https://github.com/mrbroggle/nix/blob/master/home/shell.nix): `home/shell.nix`
- [Home applications](https://github.com/mrbroggle/nix/blob/master/home/desktopApps.nix): `home/desktopApps.nix`
- [Window manager settings](https://github.com/mrbroggle/nix/blob/master/home/hyprland/wm/hyprland.nix): `home/hyprland/wm/hyprland.nix`
- [Wayland utilities](https://github.com/mrbroggle/nix/tree/master/home/waylandCommon): `home/waylandCommon`
- [Application modules](https://github.com/mrbroggle/nix/tree/master/modules/apps): `modules/apps`
- [Host home settings](https://github.com/mrbroggle/nix/blob/master/host/laptop-nixos/home.nix): `host/laptop-nixos/home.nix`
