restore matrix server

This commit is contained in:
Cyryl Płotnicki 2021-10-30 10:22:04 +01:00
parent 7366d8efbe
commit 9ecfaa1c49
5 changed files with 5 additions and 3 deletions

View file

@ -9,6 +9,7 @@
../cli.nix ../cli.nix
./print-server.nix ./print-server.nix
./restic-server.nix ./restic-server.nix
./matrix-server.nix
]; ];
services.syncthing = { services.syncthing = {
enable = true; enable = true;

View file

@ -18,7 +18,7 @@
listeners = [ listeners = [
{ {
port = 8008; port = 8008;
bind_address = "brix.cyplo.github.beta.tailscale.net"; bind_address = "bolty.cyplo.github.beta.tailscale.net";
type = "http"; type = "http";
tls = false; tls = false;
x_forwarded = true; x_forwarded = true;

View file

@ -10,6 +10,7 @@
../cli.nix ../cli.nix
./nginx.nix ./nginx.nix
./folding.nix ./folding.nix
./matrix-front.nix
]; ];
systemd.extraConfig = '' systemd.extraConfig = ''

View file

@ -31,7 +31,7 @@
''; '';
locations."/_matrix" = { locations."/_matrix" = {
proxyPass = "http://brix:8008"; # without a trailing / proxyPass = "http://bolty:8008"; # without a trailing /
}; };
}; };
}; };

View file

@ -7,7 +7,7 @@
users.extraUsers.cyryl.extraGroups = [ "kvm" ]; users.extraUsers.cyryl.extraGroups = [ "kvm" ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
virtmanager qemu virtmanager qemu swtpm
]; ];
} }