fix synapse
This commit is contained in:
parent
dfe9305117
commit
b530960d55
2 changed files with 6 additions and 4 deletions
|
|
@ -11,6 +11,9 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
documentation.enable = false;
|
||||
documentation.nixos.enable = false;
|
||||
documentation.man.enable = false;
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.version = 2;
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
services.matrix-synapse = {
|
||||
enable = true;
|
||||
server_name = serverName;
|
||||
listeners = [
|
||||
settings.server_name = serverName;
|
||||
settings.listeners = [
|
||||
{
|
||||
port = 8008;
|
||||
bind_address = "::1";
|
||||
bind_addresses = [ "::1" ];
|
||||
type = "http";
|
||||
tls = false;
|
||||
x_forwarded = true;
|
||||
|
|
@ -69,7 +69,6 @@ in
|
|||
"server_name" = "${domain}";
|
||||
};
|
||||
default_theme = "dark";
|
||||
jitsi.preferredDomain = "${config.ragon.services.jitsi.domainPrefix}.${domain}";
|
||||
}; # TODO make this less shit
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue