janeway: add/fix synapse

This commit is contained in:
Felix Albrigtsen 2023-10-15 03:50:59 +02:00
parent 9777e32da0
commit eba9f569d9
2 changed files with 1 additions and 9 deletions

View File

@ -1,7 +1,4 @@
{ config, pkgs, lib, ... }:
let
main_ip = "127.0.1.2";
in
{
sops.secrets."matrix/synapse/registrationsecret" = {
restartUnits = [ "matrix-synapse.service" ];

View File

@ -2,12 +2,7 @@
{
services.postgresql = {
enable = true;
enableTCPIP = true; # Expose on the network
authentication = pkgs.lib.mkOverride 10 ''
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
'';
enableTCPIP = false;
};
services.postgresqlBackup = {