fruitbasket/modules/web/infoscreen.nix

15 lines
267 B
Nix
Raw Normal View History

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