mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
14 lines
286 B
Nix
14 lines
286 B
Nix
{ 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;
|
|
};
|
|
}
|