Initial commit
This commit is contained in:
commit
ea1a31f442
37 changed files with 875 additions and 0 deletions
16
roles/server/ddclient.nix
Executable file
16
roles/server/ddclient.nix
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
{ 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 = [ "@" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue