{ ... }: { # Configure nginx to serve /nas/doc/website/mirror/ services.nginx = { enable = true; virtualHosts."mirror.catacomb.home" = { listen = [ { addr = "10.22.20.2"; } ]; root = "/nas/doc/website/mirror"; }; }; users.users.nginx.extraGroups = ["nas"]; }