MyNixOS website logo
option

services.httpd.virtualHosts.<name>.servedDirs

This option provides a simple way to serve static directories.

Declarations
Type
list of (attribute set)
Default
[ ]
Example
[
  {
    dir = "/home/eelco/Dev/nix-homepage";
    urlPath = "/nix";
  }
]