16 lines
No EOL
396 B
Nix
Executable file
16 lines
No EOL
396 B
Nix
Executable file
{ config, ... }:
|
|
|
|
{
|
|
# Set up secrets
|
|
age.secrets = { ddclient-passwd.file = ../../secrets/ddclient-passwd; };
|
|
|
|
services.ddclient = {
|
|
enable = true;
|
|
use = "web, web=dynamicdns.park-your-domain.com/getip";
|
|
protocol = "namecheap";
|
|
server = "dynamicdns.park-your-domain.com";
|
|
username = "toast003.xyz";
|
|
passwordFile = config.age.secrets.ddclient-passwd.path;
|
|
domains = [ "@" ];
|
|
};
|
|
} |