mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
15 lines
286 B
Nix
15 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;
|
||
|
};
|
||
|
}
|