add hydra (#48)
This commit is contained in:
17
modules/hydra.nix
Normal file
17
modules/hydra.nix
Normal 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>
|
||||
''
|
||||
]);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user