summary refs log tree commit diff
path: root/nixos/modules/services/networking/ddclient.nix
diff options
context:
space:
mode:
authorpacien <pacien.trangirard@pacien.net>2023-06-10 11:18:20 +0200
committerpacien <pacien.trangirard@pacien.net>2023-06-10 11:25:54 +0200
commit76cabe1644504ea4ae1cd8b99e3796cd9b5ddfc9 (patch)
tree9acce8ea5786d225715f4221db11551fa7d82cb5 /nixos/modules/services/networking/ddclient.nix
parentc38298b89c17de6cdae8ab0c8ef2ea95beaf77a3 (diff)
downloadnixpkgs-76cabe1644504ea4ae1cd8b99e3796cd9b5ddfc9.tar
nixpkgs-76cabe1644504ea4ae1cd8b99e3796cd9b5ddfc9.tar.gz
nixpkgs-76cabe1644504ea4ae1cd8b99e3796cd9b5ddfc9.tar.bz2
nixpkgs-76cabe1644504ea4ae1cd8b99e3796cd9b5ddfc9.tar.lz
nixpkgs-76cabe1644504ea4ae1cd8b99e3796cd9b5ddfc9.tar.xz
nixpkgs-76cabe1644504ea4ae1cd8b99e3796cd9b5ddfc9.tar.zst
nixpkgs-76cabe1644504ea4ae1cd8b99e3796cd9b5ddfc9.zip
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.
Diffstat (limited to 'nixos/modules/services/networking/ddclient.nix')
-rw-r--r--nixos/modules/services/networking/ddclient.nix11
1 files changed, 1 insertions, 10 deletions
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;