infra/modules/nixos/common/comin.nix
2024-07-24 10:27:26 +00:00

19 lines
482 B
Nix

{ inputs, ... }:
{
imports = [ inputs.comin.nixosModules.comin ];
services.telegraf.extraConfig.inputs.prometheus.urls = [ "http://localhost:4243/metrics" ];
services.comin = {
enable = true;
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
}
];
};
}