add hydra (#48)

This commit is contained in:
Dennis
2024-02-01 05:24:04 +01:00
committed by GitHub
parent 6d54aec60c
commit 10ed0c633b
3 changed files with 64 additions and 15 deletions

17
modules/hydra.nix Normal file
View File

@ -0,0 +1,17 @@
{ config, lib, ... }:
let
cfg = config.services.hydra;
in
{
config = {
services.hydra.extraConfig = lib.mkDefault (lib.concatLines [
cfg.extraConfig
''
<git-input>
timeout = 3600
</git-input>
''
]);
};
}