all: add prometheus
This commit is contained in:
parent
fcdc65d8ce
commit
b9eebc2a7e
8 changed files with 116 additions and 31 deletions
|
@ -37,6 +37,15 @@
|
|||
networking.firewall.allowedTCPPorts = [ 80 8080 ];
|
||||
networking.firewall.allowedUDPPorts = [ ] ++ (lib.range 6311 6314);
|
||||
|
||||
custom.prometheus = {
|
||||
enable = true;
|
||||
exporters.enable = true;
|
||||
grafana = {
|
||||
enable = true;
|
||||
password_file = config.sops.secrets.grafana_cloud_api.path;
|
||||
};
|
||||
};
|
||||
|
||||
services.sing-box = let
|
||||
singTls = {
|
||||
enabled = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue