Move murmur to hcloud

This commit is contained in:
Paul-Henri Froidmont 2021-07-15 14:57:57 +02:00
parent c76ade9c29
commit 380361eeeb
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
4 changed files with 19 additions and 5 deletions

View file

@ -18,7 +18,8 @@ in {
networking.hostName = "backend1";
networking.domain = "banditlair.com";
networking.firewall.allowPing = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedTCPPorts = [ 80 443 64738 ];
networking.firewall.allowedUDPPorts = [ 64738 ];
services.openssh.enable = true;
users.users.root.openssh.authorizedKeys.keyFiles = [
@ -112,4 +113,13 @@ in {
extraConfigFiles = [ "/var/keys/synapse-extra-config.yaml" ];
};
users.users.matrix-synapse.extraGroups = [ "keys" ];
services.murmur = {
enable = true;
bandwidth = 128000;
password = "$MURMURD_PASSWORD";
environmentFile = "/var/keys/murmur.env";
};
users.users.murmur.extraGroups = [ "keys" ];
}