2024-03-16 11:52:48 +10:00
|
|
|
{ inputs, lib, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
inputs.comin.nixosModules.comin
|
|
|
|
];
|
|
|
|
|
2024-03-31 08:55:29 +10:00
|
|
|
services.telegraf.extraConfig.inputs.prometheus.urls = [
|
|
|
|
"http://localhost:4243/metrics"
|
|
|
|
];
|
|
|
|
|
2024-03-16 11:52:48 +10:00
|
|
|
services.comin = {
|
|
|
|
enable = lib.mkDefault false;
|
|
|
|
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
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|