Configure backups for uptime-kuma

This commit is contained in:
SebastianStork 2025-06-10 14:29:38 +02:00
parent e0799f2b11
commit 298e2a51b2
4 changed files with 19 additions and 2 deletions

View file

@ -0,0 +1,12 @@
{ 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;
dependentService = "uptime-kuma.service";
extraConfig.paths = [ "/var/lib/private/uptime-kuma" ];
};
};
}