SelfHostBlocks
Opinionated NixOS-based modular server management system
494 stars 19 forks last commit first released AGPL-3.0
Actively maintained
Last commit 26 Aug 2026.

SelfHostBlocks is an opinionated server management distribution built on NixOS that provides modular NixOS modules ("blocks") to simplify long-term self-hosting. It packages a set of preconfigured services and shared building blocks that aim for reproducible, testable, and maintainable server setups.
Key Features
- Collection of reusable NixOS modules (blocks) that standardize configuration across services
- Built-in service integrations: automatic reverse proxy, certificate management, LDAP and SSO hooks
- Backup support and automatic creation of dedicated ZFS datasets per service
- Observability stack with Prometheus and Grafana and provided dashboards for monitoring
- Opinionated defaults with NixOS VM tests and Playwright checks to ensure services build and function together
- Contracts system to compose blocks flexibly and swap components like reverse proxies or databases
- Bundled support for common services such as Nextcloud, Jellyfin, Forgejo, Vaultwarden, Home Assistant and media/*arr stacks
- Designed for long-term maintenance, automatic updates, and tested inter-block interoperability
Use Cases
- Host personal or small-team groupware, media, and home services with consistent configuration and backups
- Build reproducible, test-driven NixOS server configurations that integrate LDAP/SSO and centralized monitoring
- Bootstrap a privacy-focused home or small datacenter environment with opinionated best-practices for backups and certificates
Limitations and Considerations
- Requires familiarity with Nix/NixOS and the project-specific patched nixpkgs; not targeted at Nix beginners
- Opinionated design means less flexibility for users who want entirely custom setups without adapting blocks
- Primarily maintained by a small team; users should expect community-driven support and occasional edge-case bugs
SelfHostBlocks is best suited for users who want a tested, modular NixOS-based platform to run common self-hosted services with built-in backups, monitoring, and identity integrations. It emphasizes reproducibility and long-term maintainability over lowest-effort installation.
Categories:
Tags:
Tech Stack:
Similar to SelfHostBlocks
Cosmos Cloud
Security-first self-hosting platform with reverse proxy, SSO, and apps
Cosmos Cloud is a security-focused self-hosting platform that provides an app store, reverse proxy with automatic HTTPS, SSO/MFA, container management, backups, and monitoring.


HomeServerHQ
All-in-one home server platform with VPN, email, and relay
Integrated installer and platform for home infrastructure. Provides VPN relay for NAT traversal, preconfigured email, automatic HTTPS, reverse proxy, and a web management utility.


Dokploy
Self-hosted PaaS to deploy and manage containerized apps and databases.
Open-source self-hostable PaaS for deploying containerized applications and managing databases with Docker Compose, Traefik, monitoring, and backups.

CloudPanel
Modern server control panel for managing web hosting stacks
CloudPanel is a lightweight server control panel for managing PHP, Node.js, Python, static sites, and reverse proxies with SSL/TLS and performance-focused defaults.
HomelabOS
Ansible-based self-hosted app platform for running home services
HomelabOS is an Ansible and Docker-based app platform to deploy, update, back up, and run 100+ self-hosted services with a simple “app store” experience.


Cloudron
Self-hosted app platform with updates, backups, and HTTPS
Cloudron is a self-hosted platform for deploying and managing web apps with one-click installs, automatic updates, backups, and integrated HTTPS, email, and user management.




