diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-01 12:32:20 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-01 12:32:20 +0100 |
commit | a3b0302b602dbdb78b2b4b0b2372a2e2d4765132 (patch) | |
tree | f7d31e08c0bcd1143a861079aa6865cc8f11f11a /hosts/surtr/matrix | |
parent | eb2bfa6a42c3435bbe5565a0eb74bd9802f8be9d (diff) | |
download | nixos-a3b0302b602dbdb78b2b4b0b2372a2e2d4765132.tar nixos-a3b0302b602dbdb78b2b4b0b2372a2e2d4765132.tar.gz nixos-a3b0302b602dbdb78b2b4b0b2372a2e2d4765132.tar.bz2 nixos-a3b0302b602dbdb78b2b4b0b2372a2e2d4765132.tar.xz nixos-a3b0302b602dbdb78b2b4b0b2372a2e2d4765132.zip |
surtr: matrix: ...
Diffstat (limited to 'hosts/surtr/matrix')
-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"; |