service/dyndns: migrate inadyn from ddclient

This commit is contained in:
Felix Buehler 2024-10-22 23:04:59 +02:00
parent c9e4dd7128
commit cf5ca17b47
3 changed files with 14 additions and 8 deletions

View file

@ -22,11 +22,15 @@ in
};
config = lib.mkIf cfg.enable {
services.ddclient = {
services.inadyn = {
enable = true;
server = "dyndns.inwx.com";
inherit (cfg) username passwordFile;
domains = [ "serverle.${domain}" ];
settings.provider = {
"default@inwx.com" = {
inherit (cfg) username;
include = cfg.passwordFile;
hostname = "serverle.${domain}";
};
};
};
};
}