NixOS-Config/modules/system/services/server/social/matrix/element/nginx/default.nix

9 lines
177 B
Nix

{ pkgs, config, ... }:
{
services.nginx.virtualHosts."chat.${config.secrets.jimDomain}" = {
enableACME = true;
addSSL = true;
root = "${pkgs.element-web}";
};
}