diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-03-16 17:17:20 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-03-16 17:17:20 +0100 |
commit | ef1540da4ea534d39b2a13902b809ef1a58d68bf (patch) | |
tree | e365feecf41d476f2521aa50a6e924203746c1d9 /host/Rory-synapse | |
parent | fix missing semicolon (diff) | |
download | Rory-Open-Architecture-ef1540da4ea534d39b2a13902b809ef1a58d68bf.tar.xz |
move settings
Diffstat (limited to 'host/Rory-synapse')
-rwxr-xr-x | host/Rory-synapse/configuration.nix | 67 |
1 files changed, 34 insertions, 33 deletions
diff --git a/host/Rory-synapse/configuration.nix b/host/Rory-synapse/configuration.nix index 632d834..9af744b 100755 --- a/host/Rory-synapse/configuration.nix +++ b/host/Rory-synapse/configuration.nix @@ -100,17 +100,40 @@ # Alicia - types: https://github.com/NixOS/nixpkgs/blob/release-22.11/nixos/modules/services/matrix/synapse.nix#L410 listeners = [ - { port = 8008; - bind_addresses = [ "192.168.1.5" ]; - type = "http"; - tls = false; - x_forwarded = true; - resources = [ { - names = [ "client" "federation" ]; - compress = true; - } ]; - } - ]; + { + port = 8008; + bind_addresses = [ "192.168.1.5" ]; + type = "http"; + tls = false; + x_forwarded = true; + resources = [ { + names = [ "client" "federation" ]; + compress = true; + } ]; + } + ]; + dynamic_thumbnails = true; + + presence = { + enable = true; + update_interval = 60; + }; + url_preview_enabled = true; + + + + database = { + name = "psycopg2"; + args = { + user = "postgres"; + passwordFile = "/run/secrets/matrix-synapse-password"; + database = "matrix-synapse-rory-gay"; + host = "192.168.1.3"; + }; + }; + app_service_config_files = [ + #"/etc/matrix-synapse/appservice-registration.yaml" + ]; }; plugins = with pkgs.matrix-synapse-plugins; [ @@ -118,29 +141,7 @@ matrix-synapse-pam ]; - dynamic_thumbnails = true; - - - presence = { - enable = true; - update_interval = 60; - }; - url_preview_enabled = true; - - - database = { - name = "psycopg2"; - args = { - user = "postgres"; - passwordFile = "/run/secrets/matrix-synapse-password"; - database = "matrix-synapse-rory-gay"; - host = "192.168.1.3"; - }; - }; - app_service_config_files = [ - #"/etc/matrix-synapse/appservice-registration.yaml" - ]; }; services.mjolnir = { |