2024-03-11 22:49:12 +01:00
|
|
|
{ config, ... }:
|
2023-10-19 11:54:15 +02:00
|
|
|
let
|
|
|
|
domain = "infoscreen.${config.networking.domain}";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
virtualHosts."${domain}" = {
|
|
|
|
addSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
root = "/srv/web/infoscreen/dist";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|