diff options
Diffstat (limited to 'hosts/surtr')
-rw-r--r-- | hosts/surtr/matrix/default.nix | 6 |
1 files 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; | |||
80 | }; | 80 | }; |
81 | 81 | ||
82 | systemd.services.matrix-synapse = { | 82 | systemd.services.matrix-synapse = { |
83 | unitConfig = { | 83 | wants = ["postgresql.service"]; |
84 | wants = ["postgresql.service"]; | ||
85 | }; | ||
86 | 84 | ||
87 | serviceConfig = { | 85 | serviceConfig = { |
88 | LoadCredential = [ | 86 | LoadCredential = [ |
@@ -115,7 +113,7 @@ with lib; | |||
115 | ProcSubset = "pid"; | 113 | ProcSubset = "pid"; |
116 | 114 | ||
117 | PrivateNetwork = false; | 115 | PrivateNetwork = false; |
118 | RestrictAddressFamily = ["AF_INET" "AF_INET6" "AF_UNIX"]; | 116 | RestrictAddressFamilies = ["AF_INET" "AF_INET6" "AF_UNIX"]; |
119 | IPAddressAllow = "any"; | 117 | IPAddressAllow = "any"; |
120 | 118 | ||
121 | SystemCallArchitectures = "native"; | 119 | SystemCallArchitectures = "native"; |