infra/modules/nixos/common/comin.nix

24 lines
494 B
Nix
Raw Normal View History

{ inputs, ... }:
2024-03-16 11:52:48 +10:00
{
imports = [
inputs.comin.nixosModules.comin
];
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
}
];
};
}