mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
Merge branch 'master' of https://github.com/Stunkymonkey/nixos
This commit is contained in:
commit
52784a38f9
3 changed files with 18 additions and 7 deletions
14
extra/dyndns.nix
Normal file
14
extra/dyndns.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue