Merge pull request #119713 from uonr/master

authored by Sandro and committed by GitHub 70e2fceb 07b99301

+11 -2
+10 -1
nixos/modules/services/networking/ddclient.nix
··· 18 18 ${lib.optionalString (cfg.zone != "") "zone=${cfg.zone}"} 19 19 ssl=${boolToStr cfg.ssl} 20 20 wildcard=YES 21 + ipv6=${boolToStr cfg.ipv6} 21 22 quiet=${boolToStr cfg.quiet} 22 23 verbose=${boolToStr cfg.verbose} 23 24 ${cfg.extraConfig} ··· 116 117 default = true; 117 118 type = bool; 118 119 description = '' 119 - Whether to use to use SSL/TLS to connect to dynamic DNS provider. 120 + Whether to use SSL/TLS to connect to dynamic DNS provider. 121 + ''; 122 + }; 123 + 124 + ipv6 = mkOption { 125 + default = false; 126 + type = bool; 127 + description = '' 128 + Whether to use IPv6. 120 129 ''; 121 130 }; 122 131
+1 -1
pkgs/tools/networking/ddclient/default.nix
··· 14 14 # perl packages by default get devdoc which isn't present 15 15 outputs = [ "out" ]; 16 16 17 - buildInputs = with perlPackages; [ IOSocketSSL DigestSHA1 DataValidateIP JSONPP ]; 17 + buildInputs = with perlPackages; [ IOSocketSSL DigestSHA1 DataValidateIP JSONPP IOSocketInet6 ]; 18 18 19 19 # Use iproute2 instead of ifconfig 20 20 preConfigure = ''