infra/modules/nixos/common/comin.nix

20 lines
482 B
Nix
Raw Normal View History

{ inputs, ... }:
2024-03-16 11:52:48 +10:00
{
2024-07-24 19:05:26 +10:00
imports = [ inputs.comin.nixosModules.comin ];
2024-03-16 11:52:48 +10:00
2024-07-24 19:05:26 +10:00
services.telegraf.extraConfig.inputs.prometheus.urls = [ "http://localhost:4243/metrics" ];
2024-03-16 11:52:48 +10:00
services.comin = {
enable = true;
2024-03-16 11:52:48 +10:00
remotes = [
{
url = "https://github.com/nix-community/infra.git";
name = "origin";
poller.period = 300; # every 5 minutes
branches.main.name = "master";
branches.testing.name = ""; # disable testing branch
}
];
};
}