Initial commit

This commit is contained in:
Toast 2023-06-01 13:07:12 +02:00
commit ea1a31f442
37 changed files with 875 additions and 0 deletions

16
roles/server/ddclient.nix Executable file
View 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 = [ "@" ];
};
}