janeway: add/fix synapse
This commit is contained in:
parent
265a13625d
commit
e799574ecb
|
@ -1,7 +1,4 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
main_ip = "127.0.1.2";
|
||||
in
|
||||
{
|
||||
sops.secrets."matrix/synapse/registrationsecret" = {
|
||||
restartUnits = [ "matrix-synapse.service" ];
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue