Auto-commit: 2026-01-07 14:04:06

This commit is contained in:
2026-01-07 14:04:06 +00:00
parent f2f386c021
commit b52d3b3904

View File

@@ -5,6 +5,7 @@ let
in
{
systemd.services = {
${crowdsecservice} = {
enable = true;
description = "Get IPv6 Prefix to add to Crowdsec Whitelist";
@@ -14,6 +15,7 @@ in
WorkingDirectory = "/mnt/lilly-ssd/appdata/crowdsec/crowdsec-prefix-change-script";
};
};
${tailscale-cloudflare-dns-sync-service} = {
enable = true;
description = "Start the tailscale-cloudflare-dns-sync Docker container";
@@ -23,7 +25,9 @@ in
};
};
};
systemd.timers = {
${crowdsecservice} = {
enable = true;
description = "Run Crowdsec-Prefix check regularly.";
@@ -33,5 +37,16 @@ in
};
wantedBy = [ "timers.target" ];
};
${tailscale-cloudflare-dns-sync-service} = {
enable = true;
description = "Run tailscale-cloudflare-dns-sync every 10 minutes";
timerConfig = {
OnBootSec = "10min";
OnUnitActiveSec = "10min";
Persistent = true;
};
wantedBy = [ "timers.target" ];
};
};
}