services.hydra.dbi
NixOS option
The DBI string for Hydra database connection. NOTE: Attempts to set application_name will be overridden by hydra-TYPE (where TYPE is e.g. evaluator, queue-runner, etc.) in all hydra services to more easily distinguish where queries are coming from.
type: stringDefault
"dbi:Pg:dbname=hydra;user=hydra;"
Example
declared in: nixos/modules/services/continuous-integration/hydra/default.nixView source on NixOS/nixpkgs →"dbi:Pg:dbname=hydra;host=postgres.example.org;user=foo;"