diff options
author | Peter Hoeg <peter@hoeg.com> | 2018-03-12 23:25:28 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2018-04-15 10:17:46 +0800 |
commit | 642c8a8d8dae5047d5020578d36558a3dea465ce (patch) | |
tree | 7c72f3e3e7d6594e0d6998d5c01180d554e8cd4d /nixos/modules/rename.nix | |
parent | cc4677c36ee8d880e881459ad114fd2224b3ac1c (diff) | |
download | nixlib-642c8a8d8dae5047d5020578d36558a3dea465ce.tar nixlib-642c8a8d8dae5047d5020578d36558a3dea465ce.tar.gz nixlib-642c8a8d8dae5047d5020578d36558a3dea465ce.tar.bz2 nixlib-642c8a8d8dae5047d5020578d36558a3dea465ce.tar.lz nixlib-642c8a8d8dae5047d5020578d36558a3dea465ce.tar.xz nixlib-642c8a8d8dae5047d5020578d36558a3dea465ce.tar.zst nixlib-642c8a8d8dae5047d5020578d36558a3dea465ce.zip |
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
Diffstat (limited to 'nixos/modules/rename.nix')
-rw-r--r-- | nixos/modules/rename.nix | 2 |
1 files changed, 2 insertions, 0 deletions
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" ]) |