From a3b0302b602dbdb78b2b4b0b2372a2e2d4765132 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 1 Mar 2022 12:32:20 +0100 Subject: surtr: matrix: ... --- hosts/surtr/matrix/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix index 9376620c..4620c2d4 100644 --- a/hosts/surtr/matrix/default.nix +++ b/hosts/surtr/matrix/default.nix @@ -80,9 +80,7 @@ with lib; }; systemd.services.matrix-synapse = { - unitConfig = { - wants = ["postgresql.service"]; - }; + wants = ["postgresql.service"]; serviceConfig = { LoadCredential = [ @@ -115,7 +113,7 @@ with lib; ProcSubset = "pid"; PrivateNetwork = false; - RestrictAddressFamily = ["AF_INET" "AF_INET6" "AF_UNIX"]; + RestrictAddressFamilies = ["AF_INET" "AF_INET6" "AF_UNIX"]; IPAddressAllow = "any"; SystemCallArchitectures = "native"; -- cgit v1.2.3