- Nix 81.9%
- Python 13.2%
- HCL 2.7%
- CSS 1.1%
- TypeScript 0.6%
- Other 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| bin | ||
| modules | ||
| tofu | ||
| .envrc | ||
| .gitignore | ||
| AGENTS.md | ||
| flake.lock | ||
| flake.nix | ||
| justfile | ||
| LICENSE | ||
| README.md | ||
nix-config
Configuration files for my NixOS and nix-darwin machines.
Very much a work in progress.
Services
This section is generated automatically from the Nix configuration using GitHub Actions and this cursed Nix script
alison
| Icon | Name | Description | Category |
|---|---|---|---|
| deCONZ | Zigbee gateway | Smart Home | |
| ESPHome | ESP32/ESP8266 firmware dashboard | Smart Home | |
| Gatus | Service monitoring tool | Services | |
| Grafana | Platform for data analytics and monitoring | Observability | |
| Home Assistant | Home automation platform | Smart Home | |
| OpenCCU | Homematic IP CCU | Smart Home | |
| Prometheus | Monitoring system & time series database | Observability |
aria
| Icon | Name | Description | Category |
|---|---|---|---|
| Immich | Self-hosted photo and video management solution | Media |
emily
| Icon | Name | Description | Category |
|---|---|---|---|
| Audiobookshelf | Audiobook and podcast player | Media | |
| Bazarr | Subtitle manager | Arr | |
| CrossPoint Sync | Reading progress sync for KOReader e-readers | Services | |
| Deluge | Torrent client | Downloads | |
| Hermes | Self-improving AI agent | Services | |
| Immich | Self-hosted photo and video management solution | Media | |
| Jellyfin | The Free Software Media System | Media | |
| Jellyseerr | Media request and discovery manager | Arr | |
| Keycloak | Open Source Identity and Access Management | Services | |
| keymap-editor | ZMK keymap editor backed by Forgejo | Services | |
| leseratte | Hardcover to OPDS book downloader | Arr | |
| Microbin | A minimal pastebin | Services | |
| Miniflux | Minimalist and opinionated feed reader | Services | |
| Nextcloud | Enterprise File Storage and Collaboration | Services | |
| Paperless-ngx | Document management system | Services | |
| Prowlarr | PVR indexer | Arr | |
| Radarr | Movie collection manager | Arr | |
| Radicale | Free and Open-Source CalDAV and CardDAV Server | Services | |
| SABnzbd | The free and easy binary newsreader | Downloads | |
| slskd | Web-based Soulseek client | Downloads | |
| Sonarr | TV show collection manager | Arr | |
| UniFi | UniFi network controller | Services | |
| Vaultwarden | Password manager | Services |
mona
| Icon | Name | Description | Category |
|---|---|---|---|
| Printercam | Live 3D printer camera stream | Media | |
| zigbee2mqtt | Zigbee gateway | Smart Home |
spencer
| Icon | Name | Description | Category |
|---|---|---|---|
| Forgejo | A painless, self-hosted Git service | Services |
Installation runbook (NixOS)
Build an installer ISO for the host being (re)installed:
just build-iso <host>
The image carries this flake at /etc/nixos, disko and the host's ed25519
host key, which is decrypted from secrets/hostkeys at build time. Capture the
key once while the host still runs:
just save-host-key <host>
The heavy lifting happens at install time: nixos-install fetches the host's
closure from cache.nixos.org and the flake inputs (including the secrets
repo) over the network. The build itself is a ~1 GiB minimal installer, so it
takes minutes even through the emulated linux-builder.
SSH into the target host with the root account
ssh root@<host-ip>
Partition and mount the drives with the host's disko config, then clone this repository into the new root.
disko --mode destroy,format,mount --flake /etc/nixos#<host>
git clone ssh://forgejo@git.notthebe.ee:2222/notthebee/nix-config.git /mnt/etc/nixos
install -Dm600 /root/.ssh/id_ed25519 /mnt/persist/ssh/ssh_host_ed25519_key
Keeping the host key across the reinstall is what lets agenix decrypt the
secrets and system.autoUpgrade fetch over forgejo afterwards.
Install the system, unmount the filesystems and reboot:
nixos-install \
--root "/mnt" \
--no-root-passwd \
--flake "/mnt/etc/nixos#<host>"
umount /mnt/boot/efis/*
umount -Rl "/mnt"
zpool export -a
reboot