hydra: use flake input

This commit is contained in:
Christoph Hollizeck 2026-01-20 23:58:17 +01:00
parent a90938b2ed
commit b68aede2ef
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
3 changed files with 84 additions and 10 deletions

View file

@ -2,6 +2,7 @@
flake.modules.nixos.hydra =
{
config,
inputs,
lib,
pkgs,
...
@ -30,7 +31,7 @@
services.hydra = {
enable = true;
package = pkgs.hydra.overrideAttrs { stdenv = pkgs.gcc14Stdenv; };
package = inputs.hydra-ci.packages.${pkgs.stdenv.system}.hydra;
hydraURL = "http://localhost:${toString httpPort}";
port = httpPort;