diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-02-19 17:10:05 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-02-19 18:09:27 +0300 |
commit | b6c49abba028bea76ba85966beb1e4149d5865be (patch) | |
tree | 4005f926ff6048cb7f58a0372cde2322c009587a /nixos/modules/services | |
parent | e48c991131b4f75445e79b4da8871ae721339ae2 (diff) | |
download | nixlib-b6c49abba028bea76ba85966beb1e4149d5865be.tar nixlib-b6c49abba028bea76ba85966beb1e4149d5865be.tar.gz nixlib-b6c49abba028bea76ba85966beb1e4149d5865be.tar.bz2 nixlib-b6c49abba028bea76ba85966beb1e4149d5865be.tar.lz nixlib-b6c49abba028bea76ba85966beb1e4149d5865be.tar.xz nixlib-b6c49abba028bea76ba85966beb1e4149d5865be.tar.zst nixlib-b6c49abba028bea76ba85966beb1e4149d5865be.zip |
uwsgi service: update documentation
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/web-servers/uwsgi.nix | 15 |
1 files changed, 9 insertions, 6 deletions
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 <literal>type</literal> which can be either <literal>normal</literal> - or <literal>emperor</literal>. + uWSGI configuration. It awaits an attribute <literal>type</literal> inside which can be either + <literal>normal</literal> or <literal>emperor</literal>. + + For <literal>normal</literal> mode you can specify <literal>pythonPackages</literal> as a function + from libraries set into a list of libraries. <literal>pythonpath</literal> will be set accordingly. - For <literal>normal</literal> mode you can specify <literal>python2Packages</literal> and - <literal>python3Packages</literal> as functions from libraries set into lists of libraries. For <literal>emperor</literal> mode, you should use <literal>vassals</literal> 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 + <literal>plugins</literal> setting here. ''; }; |