NixCI vs Hydra

NixCI Hydra
"Just" Works
Configuration is entirely optional
Automatic flake output discovery
No vendor lock-in
Continuous deployment
Impure tests with secrets
Continuous deployment
Workers
Hosted worker vCPUs 16 vCPUs
Hosted worker RAM 64 GB
Bring your own workers
Automatic binary caching
Cachix support
Automatic binary caching
Own cache support
Locally reproducible
Every job reproducible locally
Repro commands provided per job
Multi-forge support
GitHub.com support
Self-hosted GitHub support
GitLab.com support
Self-hosted GitLab support
Codeberg.org support
Self-hosted Forgejo support
Multiple forges in one installation
Self-hostable
Self-hostable leader
Self-hostable worker
FlakeHub
FlakeHub support

If you spot an inaccuracy in this table, please let us know .

"Just" Works

Configuration is entirely optional

NixCI reads your flake.nix and automatically discovers what to build. All configuration is optional. If it builds with nix flake check locally, it builds on NixCI.

Hydra requires configuring jobsets through its web interface or declarative project specifications. It does not support Nix flakes.

Automatic flake output discovery

NixCI automatically discovers all flake outputs and creates build jobs for them.

Hydra does not support flakes.

No vendor lock-in

NixCI uses standard Nix flakes. Your build definition is your flake.nix, which works everywhere Nix does.

Hydra uses Nix, but requires a Hydra-specific jobset configuration.

Continuous deployment

Impure tests with secrets

NixCI has built-in support for continuous deployment and impure tests with access to secrets and the network.

Hydra is focused on building derivations. It does not have built-in support for impure tests or deployment.

Continuous deployment

NixCI automatically runs deployment after all builds and tests pass, with no manual dependency declaration needed.

Hosted worker vCPUs

NixCI's hosted workers have 16 vCPUs and 64 GB of RAM, billed per second of actual build time. You can also bring your own workers with whatever hardware you choose.

Hydra has no hosted offering. You must provision and maintain your own build machines.

Automatic binary caching

Cachix support

NixCI has built-in Cachix support. Just add your Cachix cache name to your configuration.

Automatic binary caching

NixCI caches automatically without any configuration. Every build result is cached and subsequent builds pull from the cache to skip work that's already been done.

Hydra has built-in binary caching and serves as the source for cache.nixos.org.

Own cache support

NixCI can push build results to your own binary cache via SSH.

Locally reproducible

Every job reproducible locally

Every job on NixCI can be reproduced locally with a single command.  NixCI shows you the exact command for each job, so when CI fails, you can start fixing it immediately on your machine.

Hydra provides a shell script to reproduce each build locally.

Repro commands provided per job

NixCI provides the exact command to reproduce each job locally, including for impure tests and deployments.

Multi-forge support

GitHub.com support

NixCI works with GitHub  , GitLab  , and Codeberg  . One CI system across all your forges.

Self-hosted GitHub support

NixCI supports self-hosted GitHub Enterprise instances.

GitLab.com support

NixCI integrates with GitLab.com via webhooks and commit status updates.

Self-hosted GitLab support

NixCI supports self-hosted GitLab instances.

Codeberg.org support

NixCI integrates with Codeberg.org via webhooks and commit status updates.

Self-hosted Forgejo support

NixCI supports self-hosted Forgejo instances.

Multiple forges in one installation

A single NixCI installation can serve GitHub, GitLab, and Codeberg repositories simultaneously.

Self-hostable leader

NixCI can be fully self-hosted on your own infrastructure, including the leader, workers, and cache. It also works with self-hosted forges like GitLab and Forgejo.

Hydra is fully self-hostable and is the only deployment option.

FlakeHub support

NixCI does not have FlakeHub integration. FlakeHub only allows publishing from trusted platforms  .

Get started with NixCI