1
1
Fork 0
nixos-configs/machine/catacomb/mirror.nix

15 lines
293 B
Nix
Raw Normal View History

2024-01-08 20:10:46 +00:00
{ ... }:
{
# 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"];
}