janeway: add/fix synapse
This commit is contained in:
parent
eef3988051
commit
31ff1c1c43
|
@ -1,7 +1,4 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
|
||||||
main_ip = "127.0.1.2";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
sops.secrets."matrix/synapse/registrationsecret" = {
|
sops.secrets."matrix/synapse/registrationsecret" = {
|
||||||
restartUnits = [ "matrix-synapse.service" ];
|
restartUnits = [ "matrix-synapse.service" ];
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
{
|
{
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableTCPIP = true; # Expose on the network
|
enableTCPIP = false;
|
||||||
authentication = pkgs.lib.mkOverride 10 ''
|
|
||||||
local all all trust
|
|
||||||
host all all 127.0.0.1/32 trust
|
|
||||||
host all all ::1/128 trust
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.postgresqlBackup = {
|
services.postgresqlBackup = {
|
||||||
|
|
Loading…
Reference in New Issue