mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/dyndns: migrate inadyn from ddclient
This commit is contained in:
parent
c9e4dd7128
commit
cf5ca17b47
3 changed files with 14 additions and 8 deletions
|
@ -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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue