From fc7fb7e8c4ef2f1702ff595693095f4eff454c50 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Tue, 4 Nov 2025 16:19:55 +0100 Subject: [PATCH] update(baldur): deploy uptime kuma --- flake.nix | 1 + instances/baldur/configuration.nix | 3 +++ nixos/uptime-kuma.nix | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 nixos/uptime-kuma.nix diff --git a/flake.nix b/flake.nix index 42347e5..eac5f96 100644 --- a/flake.nix +++ b/flake.nix @@ -394,6 +394,7 @@ ./nixos/ip_forwarding.nix ./nixos/garage.nix ./nixos/vaultwarden.nix + ./nixos/uptime-kuma.nix self.nixosModules.tiziano { diff --git a/instances/baldur/configuration.nix b/instances/baldur/configuration.nix index 416caa3..720d648 100644 --- a/instances/baldur/configuration.nix +++ b/instances/baldur/configuration.nix @@ -136,6 +136,9 @@ "bitwarden.bertof.net" = ssl // { locations."/" = { proxyPass = "http://127.0.0.1:8222/"; proxyWebsockets = true; }; }; + "uptime.bertof.net" = ssl // { + locations."/" = { proxyPass = "http://127.0.0.1:3001/"; proxyWebsockets = true; }; + }; "hass.bertof.net" = ssl // { locations."/" = { proxyPass = "http://heimdall:8123/"; diff --git a/nixos/uptime-kuma.nix b/nixos/uptime-kuma.nix new file mode 100644 index 0000000..37de500 --- /dev/null +++ b/nixos/uptime-kuma.nix @@ -0,0 +1,3 @@ +{ + services.uptime-kuma.enable = true; +}