SelfHostBlocks

SelfHostBlocks

Opinionated NixOS-based modular server management system

405stars
14forks
Last commit: 5d ago
Repo age: 4y old
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 Services

Coolify

Coolify

Self-hosted PaaS for deploying apps, databases, and services

49.6k
3.4k
Last commit: 1d ago

Open-source, self-hostable PaaS to deploy websites, full-stack apps, databases, and Docker services on your own servers with Git-based CI/CD workflows.

Alternative to:
Heroku
Heroku
+12
Puter

Puter

Self-hostable web-based personal cloud and desktop environment

38.7k
3.4k
Last commit: 16h ago

Self-hostable internet OS that provides a web desktop, cloud storage, and an app platform for files, web apps, and remote-work style workflows.

Alternative to:
Google Drive
Google Drive
+19
CasaOS

CasaOS

Personal cloud dashboard and app store for Docker-based home servers

32.9k
1.8k
Last commit: 5mo ago

Open-source personal cloud system with a web dashboard, app store, and file management to run and manage Docker apps on home servers and SBCs.

Alternative to:
Cloudron
Cloudron
+19
Dokku

Dokku

Docker-powered PaaS for deploying apps on a single host

31.8k
2k
Last commit: 7d ago

Dokku is a self-hosted, Docker-based mini PaaS that lets you deploy Heroku-style apps via Git push, using buildpacks or Dockerfiles with plugin-managed services.

Alternative to:
Dokku Cloud
Dokku Cloud
+10
Dockge

Dockge

Web UI for managing Docker Compose stacks

21.5k
674
Last commit: 24d ago

Dockge is a self-hosted, stack-oriented manager for Docker Compose files, providing a responsive web UI to edit, deploy, update, and monitor compose.yaml stacks.

Alternative to:
Portainer Business Edition (Portainer Cloud)
Portainer Business Edition (Portainer Cloud)
+15
CapRover

CapRover

Open-source PaaS that automates Docker app deployment and web serving

14.8k
956
Last commit: 1mo ago

CapRover is an open-source platform to deploy, manage and scale apps using Docker and nginx with a web UI and CLI, automatic SSL, one-click databases and clustering suppo...

Alternative to:
Coolify Cloud
Coolify Cloud
+19