Some services need some place to store (temporary) files, e.g. WebDAV (on lighttpd) needs a lock-file. Usually, /var/run/ is used for these cases.
BUT: How can I tell NixOS to create a directory (with owner/group/permissions) under /var/run at each boot? Or should a different directory or a different way be used?