blob: 821f095f4be9ec888e170b584fe1800ed9c227d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ me, pkgs, lib, ... }:
{
imports = [
../../modules/common.nix
./hardware.nix
./devices.nix
../../modules/www.nix
../../services/dendrite.nix
../../services/akkoma
];
services.nginx.virtualHosts = {
"soc.rnrd.eu" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyWebsockets = true;
proxyPass = "http://127.0.0.1:1111";
};
};
"matrix.rnrd.eu" = {
forceSSL = true;
enableACME = true;
locations."/_matrix" = {
proxyPass = "http://127.0.0.1:8008";
};
};
};
system.stateVersion = "23.05";
}
|