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

9 lines
172 B
Nix

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