Thriving Thriving NI
โ†‘ 47 ?
nixlab aljam/nixlab

Nixlab is a declarative, reproducible, GitOps-driven multi-machine homelab infrastructure managed entirely via a unified Nix flake.

HEALTH ? 90 / Healthy
// solo builder flakesnixnixoslinuxnix-flakenix-flakes ?

// readme

nixlab

Declarative NixOS infrastructure for a multi-server homelab.

  • Nix flakes for reproducible hosts
  • sops-nix and age for service-scoped secrets
  • NixOS tests and GitHub Actions CI
  • HAProxy on pfSense as the public reverse-proxy gateway
  • Prometheus, Grafana, and node_exporter for observability

Quick Start

git clone https://github.com/aljam/nixlab.git
cd nixlab

# Build a host (replace <hostname> with navi, oryx, r730, r730xd, or r820)
sudo nixos-rebuild switch --flake .#<hostname>

# Run all evaluations and tests
nix flake check

Hosts

HostRolePrimary services
naviDesktop / daily driverHyprland, gaming, emulation
oryxLaptop / developmentDevelopment, portable workstation
r730Storage / AIZFS, PostgreSQL, remote builds
r730xdMedia / applicationsJellyfin, servarr, Vaultwarden, Matrix, PeerTube, monitoring
r820Edge / dataReverse-proxy backends, Grafana, PostgreSQL, distributed builds

Service catalogue

AreaServices
MediaJellyfin, Seerr, Audiobookshelf, PeerTube
DownloadsSonarr, Radarr, Prowlarr, Bazarr, Lidarr, qBittorrent, Autobrr,โ€ฆ