diff --git a/nixos/modules/services/web-servers/uwsgi.nix b/nixos/modules/services/web-servers/uwsgi.nix index 39f7047af2da..e6c25e6215c1 100644 --- a/nixos/modules/services/web-servers/uwsgi.nix +++ b/nixos/modules/services/web-servers/uwsgi.nix @@ -113,21 +113,24 @@ in { vassals = { moin = { type = "normal"; - python2Packages = self: with self; [ moinmoin ]; + pythonPackages = self: with self; [ moinmoin ]; socket = "${config.services.uwsgi.runDir}/uwsgi.sock"; }; }; } ''; description = '' - uWSGI configuration. This awaits either a path to file or a set which will be made into one. - If given a set, it awaits an attribute type which can be either normal - or emperor. + uWSGI configuration. It awaits an attribute type inside which can be either + normal or emperor. + + For normal mode you can specify pythonPackages as a function + from libraries set into a list of libraries. pythonpath will be set accordingly. - For normal mode you can specify python2Packages and - python3Packages as functions from libraries set into lists of libraries. For emperor mode, you should use vassals attribute which should be either a set of names and configurations or a path to a directory. + + Other attributes will be used in configuration file as-is. Notice that you can redefine + plugins setting here. ''; };