Remove the uptime-kuma module

This commit is contained in:
SebastianStork 2025-06-15 22:40:35 +02:00
parent 635814fca2
commit dbf32503fa
2 changed files with 0 additions and 38 deletions

View file

@ -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" ];
};
};
}

View file

@ -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;
};
};
}