21 lines
530 B
Nix
21 lines
530 B
Nix
{ config, ... }:
|
|
{
|
|
age.secrets.passwords-ddclient-namecheap = {
|
|
file = ../../../secrets/passwords/ddclient/namecheap.age;
|
|
};
|
|
|
|
services.ddclient = {
|
|
enable = true;
|
|
use = "web, web=ifconfig.me";
|
|
extraConfig = ''
|
|
usev4=webv4, webv4=ifconfig.me
|
|
usev6=disabled
|
|
'';
|
|
protocol = "namecheap";
|
|
server = "dynamicdns.park-your-domain.com";
|
|
username = "dryb.org";
|
|
passwordFile = config.age.secrets.passwords-ddclient-namecheap.path;
|
|
domains = [ "vpn" ];
|
|
interval = "10min";
|
|
};
|
|
}
|