ddclient: Don't include blank server= lines.

wip/yesman
Svein Ove Aas 8 years ago committed by Robert Helgesson
parent 339313cf48
commit fec95a40f1
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86
  1. 3
      nixos/modules/services/networking/ddclient.nix

@ -132,7 +132,8 @@ in
login=${config.services.ddclient.username}
password=${config.services.ddclient.password}
protocol=${config.services.ddclient.protocol}
server=${config.services.ddclient.server}
${let server = config.services.ddclient.server; in
lib.optionalString (server != "") "server=${server}"}
ssl=${if config.services.ddclient.ssl then "yes" else "no"}
wildcard=YES
${config.services.ddclient.domain}

Loading…
Cancel
Save