From 5df1d226c843781472e04c5133274fdc5d4b3118 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 5 Dec 2023 10:34:31 +0100 Subject: [PATCH] Switch to release version of ddclient --- modules/networking.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index 97fcd6e..c00a8c1 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -1,16 +1,6 @@ { config, pkgs, lib, ... }: -let - wireguard_port = 1194; - - latest-ddclient = pkgs.ddclient.overrideAttrs (old: rec { - src = pkgs.fetchFromGitHub { - owner = "ddclient"; - repo = "ddclient"; - rev = "3136871720a3c2abf730c9485edc351563765d0e"; - sha256 = "sha256-qb1DF0DaVbPgQokGx0t7VVk3pe3KuA8mNRPrBMzhWvU="; - }; - }); +let wireguard_port = 1194; in { # Enable systemd-networkd @@ -38,11 +28,11 @@ in { enable = true; quiet = true; use = "web, web=freedns"; - package = latest-ddclient; interval = "30min"; protocol = "duckdns"; domains = [ "coolneng.duckdns.org" ]; passwordFile = config.age.secrets.ddclient.path; + extraConfig = ""; }; # Firewall configuration