feat: update uptime-kuma to 2.0, declarative config

This commit is contained in:
Luj 2024-12-07 22:56:52 +01:00
parent bff13e5ba9
commit e5937ee297
Signed by: luj
GPG key ID: 6FC74C847011FD83
4 changed files with 66 additions and 5 deletions

View file

@ -1,9 +1,13 @@
{ pkgs, config, ... }:
{
pkgs,
config,
...
}:
{
services.uptime-kuma = {
enable = true;
package = pkgs.unstable.uptime-kuma;
package = pkgs.uptime-kuma-beta;
settings = {
NODE_EXTRA_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt";
};
@ -37,7 +41,10 @@
};
};
extraFlags = [ "-s" ];
extraFlags = [
"-s"
"-v DEBUG"
];
host = "http://localhost:${builtins.toString 3001}/";
username = "Julien";