From 642c8a8d8dae5047d5020578d36558a3dea465ce Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Mon, 12 Mar 2018 23:25:28 +0800 Subject: nixos ddclient: support multiple domains and run via systemd timer a) Some providers can update multiple domains - support that. b) Make "zone" and "script" configurable. Some providers require these. c) Instead of leaving the ddclient daemon running all the time, use a systemd timer to kick it off. d) Don't use a predefined user - run everything via DynamicUser e) Add documentation --- nixos/modules/rename.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nixos/modules/rename.nix') diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix index 489d7d8b9b50..dbd671029509 100644 --- a/nixos/modules/rename.nix +++ b/nixos/modules/rename.nix @@ -22,6 +22,8 @@ with lib; (config: let enabled = getAttrFromPath [ "services" "printing" "gutenprint" ] config; in if enabled then [ pkgs.gutenprint ] else [ ])) + (mkRenamedOptionModule [ "services" "ddclient" "domain" ] [ "services" "ddclient" "domains" ]) + (mkRemovedOptionModule [ "services" "ddclient" "homeDir" ] "") (mkRenamedOptionModule [ "services" "elasticsearch" "host" ] [ "services" "elasticsearch" "listenAddress" ]) (mkRenamedOptionModule [ "services" "graphite" "api" "host" ] [ "services" "graphite" "api" "listenAddress" ]) (mkRenamedOptionModule [ "services" "graphite" "web" "host" ] [ "services" "graphite" "web" "listenAddress" ]) -- cgit 1.4.1