Declarative, reproducible NixOS infrastructure managed as a single flake.
Machines auto-discovered from machines/, secrets encrypted with ragenix, deployed with Colmena.
| Host | Purpose | Arch | Hardware |
|---|---|---|---|
| alligator | Main desktop | x86_64 |
AMD Ryzen 7 5800X, RX 6800 XT, 32 GB |
| hamster | Laptop | x86_64 |
ThinkBook 14 |
| whale | Home server | x86_64 |
Xeon E5-2696v3, 64 GB, 25 TB+ storage |
| lizard | Dacha server | aarch64 |
Raspberry Pi 4B, 8 GB |
- Compositor โ Niri (scrollable tiling Wayland)
- Shell โ Zsh + Powerlevel10k, zoxide, fzf, eza, atuin, direnv
- Editors โ VS Code, Zed
- AI tools โ Claude Code, Codex, OpenCode
Whale runs a mix of native NixOS services and Podman containers via Quadlet.
๐ Infrastructure
- Nginx โ reverse proxy + ACME certificates
- CoreDNS โ internal DNS
- PostgreSQL / MySQL
๐ฌ Communication
- Simple NixOS Mailserver โ full mail stack (Postfix, Dovecot, Rspamd)
- Matrix Synapse โ decentralized chat
โ๏ธ Apps
- Vaultwarden โ password manager
- Nextcloud โ file sync & collaboration
- Forgejo โ Git forge
- SearXNG โ metasearch engine
- Radicale โ CalDAV / CardDAV
- Home Assistant โ home automation
- ntfy โ push notifications
๐ต Media
- Navidrome โ music streaming
- qBittorrent โ BitTorrent client
- Lidarr โ music collection manager
- Prowlarr โ indexer manager
- Slskd โ Soulseek client
๐ค AI / Dev
- LiteLLM โ LLM proxy
- Qdrant โ vector database
- Woodpecker CI โ continuous integration
- Pterodactyl โ game server panel
๐ Analytics
๐ง Other
- BorgBackup โ deduplicating backups
- Syncthing โ file synchronization
- I2P โ anonymous network
- WebTLO โ torrent tracker management
- Remote Nix builder
Home automation at the dacha.
- Home Assistant โ home automation
- Frigate โ NVR with object detection
- Mosquitto โ MQTT broker
- Yggdrasil mesh overlay between all machines
- Nebula VPN (whale is lighthouse)
- WireGuard tunnel on whale
- systemd-networkd everywhere, NetworkManager on laptops
machines/ Per-host configs (auto-discovered by the flake)
roles/
core/ Base system, networking, Podman, shell, Home Manager
desktop/ Desktop stack (imports core + dev)
dev/ Editors, AI tools, languages, LSPs
family.nix Family desktop role (user olga, Russian locale)
server.nix Server hardening (watchdog, sysctl, BBR)
profiles/ Reusable opt-in modules (bluetooth, libvirt, printing, ...)
server/ Native NixOS services for whale
apps/ Quadlet/Podman containers for whale
modules/ Custom NixOS modules (auto-exported)
hardware/ Hardware modules (auto-exported)
secrets/ Encrypted .age files (git submodule)
secrets.nix Public-key ACL for agenix
nh os switch # rebuild current machine
nh os build # build without switching
./deploy.sh <host> switch # deploy to a remote host
nix flake check # lint
treefmt # formatMIT