ddns-updater: init

This commit is contained in:
Nico 2026-02-19 20:52:29 +11:00
parent b4bcfd90a9
commit 8d99b9cdf3
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{ config, ... }:
{
services.ddns-updater = {
enable = true;
environment = {
SERVER_ENABLED="no";
# setup dynamic dns provider here
# https://wiki.nixos.org/wiki/Dynamic_DNS
# https://github.com/qdm12/ddns-updater/blob/master/docs/cloudflare.md
CONFIG_FILEPATH = "/media/secrets/ddns-updater.json";
PERIOD = "5m";
};
};
}