Add options for user and group to run nginx as.
Add option to compile in full WebDAV support.
Move lighttpd.nix to lighttpd/default.nix

So that we later can add sub-services for lighttpd without polluting the
web-servers/ directory.
 lighttpd: generate a default config file

Instead of forcing users to configure lighttpd manually, make it an
option. The current services.lighttpd.configText option can still be
used for manual configuration, but if it is left blank (default) we'll
use the new generated config file.

The generated config file ensures that the server drops root priveleges
and runs as the "lighttpd" user. It pulls in some new config params that
can be set in configuration.nix (here with default values):

  services.lighttpd.document-root = "/srv/www"
  services.lighttpd.port = 80
  services.lighttpd.extraConfig = ""  # appended to the generated file

And it enables access and error logging to the systemd journal.

Patch contributed by Bjørn Forsman.
lighttpd: add services.lighttpd.mod_userdir option

If true, requests in the form /~user/page.html are rewritten to take
the file public_html/page.html from the home directory of the user.

Default is off.

Patch contributed by Bjørn Forsman.
lighttpd: add services.lighttpd.mod_status option

If true, show server status overview at /server-status, statistics at
/server-statistics and list of loaded modules at /server-config.

Patch contributed by Bjørn Forsman.
lighttpd: add gitweb as a sub-service

Now you can access gitweb at http://yourserver/gitweb by simply adding
this to configuration.nix (assuming services.lighttpd.enable = true);

  services.lighttpd.gitweb.enable = true;

The path to all bare repositories served by gitweb can be set with this
option (default value below):

  services.lighttpd.gitweb.projectroot = "/srv/git";

Based on patch contributed by Bjørn Forsman.
Make nginx uid and gid optional.
Add braces to fix compilation errors.
I don't understand how Apache gets away without them.
Manual: _SYSTEMD_UNIT -> -u
Don't start nscd if it's not already running

"systemctl restart" will start a service if it's not already
running...
Increase PostgreSQL's shutdown timeout to 3 minutes

1 minute is too short, given that the autovacuum launcher often seems
to require exactly 1 minute to shut down.  (This might be a bug
related to autovacuum_naptime.)
Adding miniupnpc to gnunet path, to be able to use upnp
Adding synclient to systemPackages if synaptics is enabled.
systemd.nix: Use environment.etc attribute syntax
Fix suspend in systemd

Systemd 203 expects the file /etc/systemd/sleep.conf to exist,
otherwise suspend doesn't work.
Apparmor: add a warning
Apparmor: check that we are running an AppArmor-enabled kernel.
AppArmor: try converting to a systemd unit
AppArmor profiles for SUID binaries. At this moment only for ping.
transmission.service: fix ignored ExecReload setting

This is what currently happens (from the journal log):

  [/nix/store/HASH-unit/transmission.service:27] Executable path is not absolute, ignoring: kill -HUP $MAINPID

Fix it by using absolute path to kill.