SelfHostBlocks

Website

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 screenshot

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:

Share:

Similar to SelfHostBlocks

Cosmos Cloud

Security-first self-hosting platform with reverse proxy, SSO, and apps

6.1k
250
Last commit

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.

Actively maintained
Alternative to:
Cloudron logo
Cloudron
+18
HomeServerHQ logo

HomeServerHQ

All-in-one home server platform with VPN, email, and relay

69
7
Last commit

Integrated installer and platform for home infrastructure. Provides VPN relay for NAT traversal, preconfigured email, automatic HTTPS, reverse proxy, and a web management utility.

GPL-3.0Actively maintained
Alternative to:
Cloudron logo
Cloudron
+19
Dokploy logo

Dokploy

Self-hosted PaaS to deploy and manage containerized apps and databases.

36.9k
2.9k
Last commit

Open-source self-hostable PaaS for deploying containerized applications and managing databases with Docker Compose, Traefik, monitoring, and backups.

Actively maintained
Alternative to:
Vercel logo
Vercel
+9
CloudPanel logo

CloudPanel

Modern server control panel for managing web hosting stacks

1.9k
139
Last commit

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.

Actively maintained
Alternative to:
CloudPanel logo
CloudPanel
+12

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.

Activity unknown
Alternative to:
Cloudron logo
Cloudron
+18
Cloudron logo

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.

Activity unknown
Alternative to:
Cloudron logo
Cloudron
+19