modules/prometheus: refactor
This commit is contained in:
parent
ebf69d94dd
commit
ec63c8b6cc
26 changed files with 579 additions and 407 deletions
|
@ -21,12 +21,20 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swapfile";
|
||||
size = 2 * 1024;
|
||||
}
|
||||
];
|
||||
|
||||
custom.prometheus = {
|
||||
enable = lib.mkDefault true;
|
||||
exporters.blackbox.enable = true;
|
||||
custom.prometheus.exporters = {
|
||||
enable = true;
|
||||
node.enable = true;
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
commonSettings = {
|
||||
auth.enable = true;
|
||||
proxyServer = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue