MyNixOS website logo
option

services.moodle.virtualHost.servedFiles

This option provides a simple way to serve individual, static files.

This option has been deprecated and will be removed in a future version of NixOS. You can achieve the same result by making use of the locations.<name>.alias option.
Declarations
Type
list of (attribute set)
Default
[ ]
Example
[
  {
    file = "/home/eelco/some-file.png";
    urlPath = "/foo/bar.png";
  }
]