How myleslandais/nix works
This repository is a NixOS configuration for personal workstations and ARM64 OCI hosts, with Forgejo hosting and several 3DS utilities. The main operator workflow is selecting a host configuration, composing reusable Nix modules, and applying it with a NixOS rebuild; the README documents the host, Hyprland, and Forgejo relationships. The scripts provide separate extraction, save-backup, and emulator-control workflows. Source evidence is sampled and incomplete, so links among unsampled modules are omitted rather than inferred.
Main entry points: hosts Host configurations · forgejo Forgejo deployment · compose.yaml Forgejo service · stage-db Stage DB host
Components 20
Host systems
- Host configurations
modules/hosts - Stage DB host
modules/hosts/stage-db - Shared Nix modules
modules
Desktop features
- Hyprland desktop
modules/_features/desktops/hyprland - Desktop bars
modules/_features/bars - Shell tools
modules/_features/shelltools
Git hosting
- Forgejo deployment
infra/forgejo - Cloudflare Tunnel
- Forgejo service
infra/forgejo/compose.yaml - Forgejo database
infra/forgejo/main.tf
3DS utilities
- Echoes extract/index
scripts/fe_echoes_index.py - Save snapshot/sync
scripts/three_ds_save_sync.py - Snapshot storage
- Emulator bridge
scripts/citra_agent_bridge.py
Other components
- System operator
- NixOS rebuild
- Git users
- 3DS data owner
- ctrtool
- Azahar emulator
Connections 18
- System operator → NixOS rebuild: applies changes
README.md - NixOS rebuild → Host configurations: selects host
README.md - Host configurations → Shared Nix modules: uses modules
- Host configurations → Hyprland desktop: configures desktop
README.md - Host configurations → Stage DB host: hosts Forgejo
README.md - Hyprland desktop → Desktop bars: integrates bar
- System operator → Forgejo deployment: deploys hosting
README.md - Forgejo deployment → Forgejo service: configures service
- Forgejo deployment → Forgejo database: provisions database
- Stage DB host → Cloudflare Tunnel: serves through
README.md - Cloudflare Tunnel → Forgejo service: routes traffic
README.md - Git users → Forgejo service: uses Git hosting
README.md - 3DS data owner → Echoes extract/index: extracts or indexes
scripts/fe_echoes_index.py - Echoes extract/index → ctrtool: extracts dump
scripts/fe_echoes_index.py - 3DS data owner → Save snapshot/sync: snapshots saves
scripts/three_ds_save_sync.py - Save snapshot/sync → Snapshot storage: writes verified snapshots
scripts/three_ds_save_sync.py - 3DS data owner → Emulator bridge: controls session
scripts/citra_agent_bridge.py - Emulator bridge → Azahar emulator: launches emulator
scripts/citra_agent_bridge.py