From e3cedee0603b6885b31800e4ca8af47da56aaf5d Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 10 Jun 2024 00:46:49 +0200 Subject: [PATCH] tsuki/matrix-synapse: add dependencies to systemd slice --- hosts/tsuki/services/matrix/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/tsuki/services/matrix/default.nix b/hosts/tsuki/services/matrix/default.nix index ac3ad53..ebfd10a 100644 --- a/hosts/tsuki/services/matrix/default.nix +++ b/hosts/tsuki/services/matrix/default.nix @@ -83,6 +83,14 @@ }; }; + systemd.slices.system-matrix-synapse = { + requires = [ + "postgresql.service" + "redis.service" + "kanidm.service" + ]; + }; + services.redis.servers."".enable = true; networking.firewall = {