extra/dyndns: init

This commit is contained in:
Felix Buehler 2021-12-07 10:41:29 +01:00
parent 6699866b20
commit 133b8a71eb
3 changed files with 16 additions and 2 deletions

14
extra/dyndns.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
let
cfg = import ../vars-dyndns.nix;
in
{
services.ddclient = {
enable = true;
server = cfg.dyndns.server;
username = cfg.dyndns.username;
passwordFile = "/root/.dyndns_password";
domains = cfg.dyndns.domains;
ipv6 = true;
};
}