mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Move murmur to hcloud
This commit is contained in:
parent
c76ade9c29
commit
380361eeeb
4 changed files with 19 additions and 5 deletions
12
backend1.nix
12
backend1.nix
|
|
@ -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" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue