config/profiles/http/services/cinny.nix

25 lines
572 B
Nix
Raw Permalink Normal View History

2023-02-25 00:03:29 +01:00
{ config, pkgs, lib, mkDomain, ... }:
2024-09-21 23:56:32 +02:00
lib.mkIf pkgs.unstable.cinny.meta.available # no CVE's thank you
2023-02-25 00:03:29 +01:00
{
# Cinny
# Yet another Matrix client for the web
services.nginx.virtualHosts.${mkDomain "cinny"} = {
forceSSL = true; # addSSL = true;
enableACME = true; #useACMEHost = acmeDomain;
2024-07-04 02:16:29 +02:00
# TODO: the override causes a rebuild which fails on low-RAM systems
2023-02-25 00:03:29 +01:00
root = pkgs.unstable.cinny.override {
2024-10-12 19:07:16 +02:00
conf = {
defaultHomeserver = 0;
homeserverList = [
"pvv.ntnu.no"
"matrix.org"
];
};
2023-02-25 00:03:29 +01:00
};
};
}