mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
12 lines
382 B
Nix
12 lines
382 B
Nix
{ 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" ];
|
|
};
|
|
};
|
|
}
|