Skip to content

Hydra

Hydra is a Continuous Integration service for Nix based projects.

View the nix-core NixOS module on GitHub.

References

Setup

Create an admin user:

sudo -u hydra hydra-create-user YOU --full-name YOU --email-address 'YOU@EXAMPLE.TLD' --password-prompt --role admin

Sops

Provide the following entries to your secrets.yaml for email support:

Replace abc123 with your actual secrets

hydra:
    smtp-password: abc123 # for email support (local or external mailserver)
    hashed-smtp-password: abc123 # for email support (local mailserver only)

Generate the hashed password with:

nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt'

For more info, see our mailserver module.