mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
feat: update uptime-kuma to 2.0, declarative config
This commit is contained in:
parent
bff13e5ba9
commit
e5937ee297
4 changed files with 66 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue