From 27b3cf09338f5ee3d043dc2c6fb89b763d142708 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sun, 10 Nov 2019 17:47:46 +0100 Subject: [PATCH] Migrate DynDNS provider to DuckDNS --- modules/networking.nix | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index dc126dd..b8500b1 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -9,25 +9,9 @@ services.ddclient = { enable = true; quiet = true; - use = "cmd, cmd='/run/current-system/sw/bin/curl https://checkipv4.dedyn.io/'"; - server = "update.dedyn.io"; - extraConfig = " - login=coolneng.dedyn.io\n - password='5320e326cf0564e10703e16ef38644da161f195a'\n - coolneng.dedyn.io\n - \n - login=rehiwi.dedyn.io\n - password='b05f777b8ca7193f5054a308c3cf396e73c2fb69'\n - rehiwi.dedyn.io\n - \n - login=nujabes.dedyn.io\n - password='IVstfQqFT8mDT9-CXsVS-nbv36rY'\n - nujabes.dedyn.io\n - \n - login=methyl.dedyn.io\n - password='vQ0S5dSWCwsO4LUSlVWqkZ2LDYD8'\n - methyl.dedyn.io\n - "; + protocol = "duckdns"; + domains = [ "coolneng.duckdns.org" ]; + password = "7eebec3b-945a-4ab5-a6d4-e3a8e2eee4eb"; }; # Firewall configuration