13 lines
219 B
Nix
13 lines
219 B
Nix
{ config, ... }:
|
|
let
|
|
domain = "infoscreen.${config.networking.domain}";
|
|
in
|
|
{
|
|
services.nginx = {
|
|
enable = true;
|
|
virtualHosts."${domain}" = {
|
|
root = "/srv/web/infoscreen/dist";
|
|
};
|
|
};
|
|
}
|