feat: enable monitoring on winters

This commit is contained in:
Swarsel 2024-10-18 21:34:23 +02:00
parent 8c58ff78fe
commit 5f586cebef
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
6 changed files with 65 additions and 8 deletions

View file

@ -5,8 +5,8 @@
sops.secrets = {
grafanaadminpass = {
owner = "grafana";
}
}
};
};
users.users.grafana = {
extraGroups = [ "users" ];
};
@ -14,10 +14,12 @@
services.grafana = {
enable = true;
dataDir = "/Vault/data/grafana";
admin_password = "$__file{/run/secrets/grafanaadminpass}";
settings = {
http_port = 3000;
http_addr = "127.0.0.1";
security.admin_password = "$__file{/run/secrets/grafanaadminpass}";
server = {
http_port = 3000;
http_addr = "127.0.0.1";
};
};
};