Here is a patch that you can apply to make the privoxy service actually run as the privoxy user:

Index: modules/services/networking/privoxy.nix
===================================================================
--- modules/services/networking/privoxy.nix     (revision 21548)
+++ modules/services/networking/privoxy.nix     (working copy)
@@ -12,7 +12,7 @@

   modprobe = config.system.sbin.modprobe;

-  privoxyFlags = "--no-daemon ${privoxyCfg}";
+  privoxyFlags = "--no-daemon --user ${privoxyUser} ${privoxyCfg}";

   privoxyCfg = pkgs.writeText "privoxy.conf" ''
     listen-address  ${config.services.privoxy.listenAddress}

--
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to