Commit 9f7f75f8 authored by Fabian Cholewinski's avatar Fabian Cholewinski
Browse files

privoxy: Allow multiple listen-address options

Change type of services.privoxy.settings.listen-address from str to
either str (listOf str).  The latter allows providing a list which
results in multiple list-address entries in privoxy.conf.
parent 66d668f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@ in
        freeformType = configType;

        options.listen-address = mkOption {
          type = types.str;
          type = types.either types.str (types.listOf types.str);
          default = "127.0.0.1:8118";
          description = "Pair of address:port the proxy server is listening to.";
        };