diff --git a/modules/system/services/uptime-kuma/backups.nix b/modules/system/services/uptime-kuma/backups.nix deleted file mode 100644 index 228e627..0000000 --- a/modules/system/services/uptime-kuma/backups.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ config, lib, ... }: -{ - options.custom.services.uptimeKuma.backups.enable = lib.mkEnableOption ""; - - config = lib.mkIf config.custom.services.uptimeKuma.backups.enable { - custom.services.resticBackups.uptime-kuma = { - healthchecks.enable = false; - conflictingService = "uptime-kuma.service"; - extraConfig.paths = [ "/var/lib/private/uptime-kuma" ]; - }; - }; -} diff --git a/modules/system/services/uptime-kuma/default.nix b/modules/system/services/uptime-kuma/default.nix deleted file mode 100644 index 116bb2f..0000000 --- a/modules/system/services/uptime-kuma/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ config, lib, ... }: -let - cfg = config.custom.services.uptimeKuma; -in -{ - options.custom.services.uptimeKuma = { - enable = lib.mkEnableOption ""; - domain = lib.mkOption { - type = lib.types.nonEmptyStr; - default = ""; - }; - port = lib.mkOption { - type = lib.types.port; - default = 3001; - }; - }; - - config = lib.mkIf cfg.enable { - meta.ports.list = [ cfg.port ]; - - services.uptime-kuma = { - enable = true; - settings.PORT = toString cfg.port; - }; - }; -}