From 76cabe1644504ea4ae1cd8b99e3796cd9b5ddfc9 Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 10 Jun 2023 11:18:20 +0200 Subject: nixos/ddclient: remove obsolete ipv6 option Since ddclient@24ba945 (v3.10.0), the type and meaning of the "ipv6" option has changed. This resulted in the following warning when starting the service: WARNING: file /run/ddclient/ddclient.conf, line 13: Invalid Value for keyword 'ipv6' = 'no' This therefore removes the matching boolean option. More advanced configurations can use the "extraConfig" option instead. --- nixos/modules/services/networking/ddclient.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'nixos/modules/services/networking/ddclient.nix') diff --git a/nixos/modules/services/networking/ddclient.nix b/nixos/modules/services/networking/ddclient.nix index 7caee8a8eb3..6b21ea5b524 100644 --- a/nixos/modules/services/networking/ddclient.nix +++ b/nixos/modules/services/networking/ddclient.nix @@ -20,7 +20,6 @@ let ${lib.optionalString (cfg.zone != "") "zone=${cfg.zone}"} ssl=${boolToStr cfg.ssl} wildcard=YES - ipv6=${boolToStr cfg.ipv6} quiet=${boolToStr cfg.quiet} verbose=${boolToStr cfg.verbose} ${cfg.extraConfig} @@ -52,6 +51,7 @@ with lib; in if value != "" then [ value ] else [])) (mkRemovedOptionModule [ "services" "ddclient" "homeDir" ] "") (mkRemovedOptionModule [ "services" "ddclient" "password" ] "Use services.ddclient.passwordFile instead.") + (mkRemovedOptionModule [ "services" "ddclient" "ipv6" ] "") ]; ###### interface @@ -146,15 +146,6 @@ with lib; ''; }; - ipv6 = mkOption { - default = false; - type = bool; - description = lib.mdDoc '' - Whether to use IPv6. - ''; - }; - - quiet = mkOption { default = false; type = bool; -- cgit 1.4.1