From a2827a95f2d3aa828787605277d633b272f088b5 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Fri, 23 Jan 2026 10:59:34 +0100 Subject: [PATCH] uptime-kuma: Remove module --- modules/system/web-services/uptime-kuma.nix | 30 --------------------- 1 file changed, 30 deletions(-) delete mode 100644 modules/system/web-services/uptime-kuma.nix diff --git a/modules/system/web-services/uptime-kuma.nix b/modules/system/web-services/uptime-kuma.nix deleted file mode 100644 index bb1522e..0000000 --- a/modules/system/web-services/uptime-kuma.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ config, lib, ... }: -let - cfg = config.custom.web-services.uptime-kuma; -in -{ - options.custom.web-services.uptime-kuma = { - enable = lib.mkEnableOption ""; - domain = lib.mkOption { - type = lib.types.nonEmptyStr; - default = ""; - }; - port = lib.mkOption { - type = lib.types.port; - default = 44019; - }; - }; - - config = lib.mkIf cfg.enable { - services.uptime-kuma = { - enable = true; - settings.PORT = toString cfg.port; - }; - - custom = { - services.caddy.virtualHosts.${cfg.domain}.port = cfg.port; - - persistence.directories = [ config.services.uptime-kuma.settings.DATA_DIR ]; - }; - }; -}