nix/hosts/APPA/services/ddclient.nix

17 lines
444 B
Nix

{ config, ... }:
{
age.secrets.passwords-ddclient-namecheap = {
file = ../../../secrets/passwords/ddclient/namecheap.age;
};
services.ddclient = {
enable = true;
use = "web, web=ifconfig.me/";
protocol = "namecheap";
server = "dynamicdns.park-your-domain.com";
username = "dryb.org";
passwordFile = config.age.secrets.passwords-ddclient-namecheap.path;
domains = [ "vpn" ];
interval = "10min";
};
}