22 lines
455 B
Nix
22 lines
455 B
Nix
|
{ config, pkgs, lib, mkDomain, ... }:
|
||
|
{
|
||
|
# Cinny
|
||
|
# Yet another Matrix client for the web
|
||
|
|
||
|
services.nginx.virtualHosts.${mkDomain "cinny"} = {
|
||
|
forceSSL = true; # addSSL = true;
|
||
|
enableACME = true; #useACMEHost = acmeDomain;
|
||
|
root = pkgs.unstable.cinny.override {
|
||
|
conf = {
|
||
|
defaultHomeserver = 0;
|
||
|
homeserverList = [
|
||
|
"pvv.ntnu.no"
|
||
|
"matrix.org"
|
||
|
"dodsorf.as"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|