{ config, pkgs, lib, ... }: with lib; { imports = [ ../../docs/module.nix ]; services.nginx = { virtualHosts = { "${config.networking.domain}" = { default = true; serverAliases = [ "doku.${config.networking.domain}" ]; locations."/".root = config.system.build.docs; }; }; }; }