From 31ff1c1c432b94bca71bc9a0681889d909ad4737 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Sun, 15 Oct 2023 03:50:59 +0200 Subject: [PATCH] janeway: add/fix synapse --- hosts/janeway/services/matrix-synapse.nix | 3 --- hosts/janeway/services/postgresql.nix | 7 +------ 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/hosts/janeway/services/matrix-synapse.nix b/hosts/janeway/services/matrix-synapse.nix index c355f31..61897af 100644 --- a/hosts/janeway/services/matrix-synapse.nix +++ b/hosts/janeway/services/matrix-synapse.nix @@ -1,7 +1,4 @@ { config, pkgs, lib, ... }: -let - main_ip = "127.0.1.2"; -in { sops.secrets."matrix/synapse/registrationsecret" = { restartUnits = [ "matrix-synapse.service" ]; diff --git a/hosts/janeway/services/postgresql.nix b/hosts/janeway/services/postgresql.nix index c7c804b..7547b6d 100644 --- a/hosts/janeway/services/postgresql.nix +++ b/hosts/janeway/services/postgresql.nix @@ -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 = {