# alsesd/nixos architecture

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

- Interactive diagram: https://gitdiagram.com/alsesd/nixos
- Repository: https://github.com/alsesd/nixos

## Overview

This repository is a Nix-based configuration for a desktop host and a Nix-on-Droid host. Its apparent workflow is to define host configurations using reusable modules for system, hardware, services, desktop, shell, and applications; the file tree does not show which modules each host imports or how a user applies the configuration. Nodes reflect the available module paths, but no edges are included because no source excerpts or README document relationships.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hosts["Host configurations"]
  node_my_machine["My machine<br/>[default.nix]"]
  node_my_machine_config["Machine configuration<br/>[configuration.nix]"]
  node_my_machine_hardware["Machine hardware<br/>[hardware.nix]"]
  node_droid["Nix on Droid<br/>[default.nix]"]
  node_droid_config["Droid configuration<br/>[configuration.nix]"]
end

subgraph group_system["System and hardware"]
  node_boot["Boot<br/>[boot.nix]"]
  node_nix["Nix settings<br/>[nix.nix]"]
  node_nh["Nix helper<br/>[nh.nix]"]
  node_cpu["CPU<br/>[cpu.nix]"]
  node_nvidia["NVIDIA<br/>[nvidia.nix]"]
  node_vars["Configuration variables<br/>[vars.nix]"]
end

subgraph group_services["Services"]
  node_audio["Audio<br/>[audio.nix]"]
  node_docker["Docker<br/>[docker.nix]"]
  node_mosh["Mosh<br/>[mosh.nix]"]
  node_tweaks["System tweaks<br/>[system-tweaks.nix]"]
  node_tailscale["Tailscale<br/>[tailscale.nix]"]
  node_wallpaper["Wallpaper<br/>[wallpaper.nix]"]
end

subgraph group_desktop["Desktop environment"]
  node_gtk["GTK<br/>[gtk.nix]"]
  node_niri["Niri<br/>[niri.nix]"]
  node_greeter["Noctalia greeter"]
  node_noctalia["Noctalia<br/>[noctalia.nix]"]
  node_stylix["Stylix<br/>[stylix.nix]"]
end

subgraph group_user["Shell and applications"]
  node_fish["Fish shell<br/>[fish.nix]"]
  node_fastfetch["Fastfetch<br/>[fastfetch.nix]"]
  node_python["Python<br/>[python.nix]"]
  node_blip["Blip<br/>[blip.nix]"]
  node_kitty["Kitty<br/>[kitty.nix]"]
  node_steam["Steam<br/>[steam.nix]"]
  node_thunar["Thunar<br/>[thunar.nix]"]
  node_yazi["Yazi<br/>[yazi.nix]"]
  node_zed["Zed<br/>[zed.nix]"]
  node_user_module["User configuration<br/>[user.nix]"]
end

click node_my_machine "https://github.com/alsesd/nixos/blob/main/modules/hosts/my-machine/default.nix"
click node_my_machine_config "https://github.com/alsesd/nixos/blob/main/modules/hosts/my-machine/configuration.nix"
click node_my_machine_hardware "https://github.com/alsesd/nixos/blob/main/modules/hosts/my-machine/hardware.nix"
click node_droid "https://github.com/alsesd/nixos/blob/main/modules/hosts/nix-on-droid/default.nix"
click node_droid_config "https://github.com/alsesd/nixos/blob/main/modules/hosts/nix-on-droid/configuration.nix"
click node_boot "https://github.com/alsesd/nixos/blob/main/modules/features/system/boot.nix"
click node_nix "https://github.com/alsesd/nixos/blob/main/modules/features/system/nix.nix"
click node_nh "https://github.com/alsesd/nixos/blob/main/modules/features/system/nh.nix"
click node_cpu "https://github.com/alsesd/nixos/blob/main/modules/features/hardware/cpu.nix"
click node_nvidia "https://github.com/alsesd/nixos/blob/main/modules/features/hardware/nvidia.nix"
click node_vars "https://github.com/alsesd/nixos/blob/main/modules/features/vars.nix"
click node_audio "https://github.com/alsesd/nixos/blob/main/modules/features/services/audio.nix"
click node_docker "https://github.com/alsesd/nixos/blob/main/modules/features/services/docker.nix"
click node_mosh "https://github.com/alsesd/nixos/blob/main/modules/features/services/mosh.nix"
click node_tweaks "https://github.com/alsesd/nixos/blob/main/modules/features/services/system-tweaks.nix"
click node_tailscale "https://github.com/alsesd/nixos/blob/main/modules/features/services/tailscale.nix"
click node_wallpaper "https://github.com/alsesd/nixos/blob/main/modules/features/services/wallpaper.nix"
click node_gtk "https://github.com/alsesd/nixos/blob/main/modules/features/GUI/gtk.nix"
click node_niri "https://github.com/alsesd/nixos/blob/main/modules/features/GUI/niri.nix"
click node_greeter "https://github.com/alsesd/nixos/blob/main/modules/features/GUI/noctalia-greeter.nix"
click node_noctalia "https://github.com/alsesd/nixos/blob/main/modules/features/GUI/noctalia.nix"
click node_stylix "https://github.com/alsesd/nixos/blob/main/modules/features/GUI/stylix.nix"
click node_fish "https://github.com/alsesd/nixos/blob/main/modules/features/shells/fish.nix"
click node_fastfetch "https://github.com/alsesd/nixos/blob/main/modules/features/shells/fastfetch.nix"
click node_python "https://github.com/alsesd/nixos/blob/main/modules/features/shells/python.nix"
click node_blip "https://github.com/alsesd/nixos/blob/main/modules/features/soft/blip.nix"
click node_kitty "https://github.com/alsesd/nixos/blob/main/modules/features/soft/kitty.nix"
click node_steam "https://github.com/alsesd/nixos/blob/main/modules/features/soft/steam.nix"
click node_thunar "https://github.com/alsesd/nixos/blob/main/modules/features/soft/thunar.nix"
click node_yazi "https://github.com/alsesd/nixos/blob/main/modules/features/soft/yazi.nix"
click node_zed "https://github.com/alsesd/nixos/blob/main/modules/features/soft/zed.nix"
click node_user_module "https://github.com/alsesd/nixos/blob/main/modules/user.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_my_machine,node_my_machine_config,node_my_machine_hardware,node_droid,node_droid_config toneBlue
class node_boot,node_nix,node_nh,node_cpu,node_nvidia,node_vars toneAmber
class node_audio,node_docker,node_mosh,node_tweaks,node_tailscale,node_wallpaper toneMint
class node_gtk,node_niri,node_greeter,node_noctalia,node_stylix toneRose
class node_fish,node_fastfetch,node_python,node_blip,node_kitty,node_steam,node_thunar,node_yazi,node_zed,node_user_module toneIndigo
```

## Components

### Host configurations

- [My machine](https://github.com/alsesd/nixos/blob/main/modules/hosts/my-machine/default.nix): `modules/hosts/my-machine/default.nix`
- [Machine configuration](https://github.com/alsesd/nixos/blob/main/modules/hosts/my-machine/configuration.nix): `modules/hosts/my-machine/configuration.nix`
- [Machine hardware](https://github.com/alsesd/nixos/blob/main/modules/hosts/my-machine/hardware.nix): `modules/hosts/my-machine/hardware.nix`
- [Nix on Droid](https://github.com/alsesd/nixos/blob/main/modules/hosts/nix-on-droid/default.nix): `modules/hosts/nix-on-droid/default.nix`
- [Droid configuration](https://github.com/alsesd/nixos/blob/main/modules/hosts/nix-on-droid/configuration.nix): `modules/hosts/nix-on-droid/configuration.nix`

### System and hardware

- [Boot](https://github.com/alsesd/nixos/blob/main/modules/features/system/boot.nix): `modules/features/system/boot.nix`
- [Nix settings](https://github.com/alsesd/nixos/blob/main/modules/features/system/nix.nix): `modules/features/system/nix.nix`
- [Nix helper](https://github.com/alsesd/nixos/blob/main/modules/features/system/nh.nix): `modules/features/system/nh.nix`
- [CPU](https://github.com/alsesd/nixos/blob/main/modules/features/hardware/cpu.nix): `modules/features/hardware/cpu.nix`
- [NVIDIA](https://github.com/alsesd/nixos/blob/main/modules/features/hardware/nvidia.nix): `modules/features/hardware/nvidia.nix`
- [Configuration variables](https://github.com/alsesd/nixos/blob/main/modules/features/vars.nix): `modules/features/vars.nix`

### Services

- [Audio](https://github.com/alsesd/nixos/blob/main/modules/features/services/audio.nix): `modules/features/services/audio.nix`
- [Docker](https://github.com/alsesd/nixos/blob/main/modules/features/services/docker.nix): `modules/features/services/docker.nix`
- [Mosh](https://github.com/alsesd/nixos/blob/main/modules/features/services/mosh.nix): `modules/features/services/mosh.nix`
- [System tweaks](https://github.com/alsesd/nixos/blob/main/modules/features/services/system-tweaks.nix): `modules/features/services/system-tweaks.nix`
- [Tailscale](https://github.com/alsesd/nixos/blob/main/modules/features/services/tailscale.nix): `modules/features/services/tailscale.nix`
- [Wallpaper](https://github.com/alsesd/nixos/blob/main/modules/features/services/wallpaper.nix): `modules/features/services/wallpaper.nix`

### Desktop environment

- [GTK](https://github.com/alsesd/nixos/blob/main/modules/features/GUI/gtk.nix): `modules/features/GUI/gtk.nix`
- [Niri](https://github.com/alsesd/nixos/blob/main/modules/features/GUI/niri.nix): `modules/features/GUI/niri.nix`
- [Noctalia greeter](https://github.com/alsesd/nixos/blob/main/modules/features/GUI/noctalia-greeter.nix): `modules/features/GUI/noctalia-greeter.nix`
- [Noctalia](https://github.com/alsesd/nixos/blob/main/modules/features/GUI/noctalia.nix): `modules/features/GUI/noctalia.nix`
- [Stylix](https://github.com/alsesd/nixos/blob/main/modules/features/GUI/stylix.nix): `modules/features/GUI/stylix.nix`

### Shell and applications

- [Fish shell](https://github.com/alsesd/nixos/blob/main/modules/features/shells/fish.nix): `modules/features/shells/fish.nix`
- [Fastfetch](https://github.com/alsesd/nixos/blob/main/modules/features/shells/fastfetch.nix): `modules/features/shells/fastfetch.nix`
- [Python](https://github.com/alsesd/nixos/blob/main/modules/features/shells/python.nix): `modules/features/shells/python.nix`
- [Blip](https://github.com/alsesd/nixos/blob/main/modules/features/soft/blip.nix): `modules/features/soft/blip.nix`
- [Kitty](https://github.com/alsesd/nixos/blob/main/modules/features/soft/kitty.nix): `modules/features/soft/kitty.nix`
- [Steam](https://github.com/alsesd/nixos/blob/main/modules/features/soft/steam.nix): `modules/features/soft/steam.nix`
- [Thunar](https://github.com/alsesd/nixos/blob/main/modules/features/soft/thunar.nix): `modules/features/soft/thunar.nix`
- [Yazi](https://github.com/alsesd/nixos/blob/main/modules/features/soft/yazi.nix): `modules/features/soft/yazi.nix`
- [Zed](https://github.com/alsesd/nixos/blob/main/modules/features/soft/zed.nix): `modules/features/soft/zed.nix`
- [User configuration](https://github.com/alsesd/nixos/blob/main/modules/user.nix): `modules/user.nix`
