From 30d281f77d830b1c45104a44c9e7e5eafb52b354 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Fri, 7 Nov 2025 11:03:02 +0200 Subject: [PATCH] nix/modules: enable redis alongside appview Signed-off-by: Anirudh Oppiliappan --- nix/modules/appview.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nix/modules/appview.nix b/nix/modules/appview.nix index 924e3fe9..031522dc 100644 --- a/nix/modules/appview.nix +++ b/nix/modules/appview.nix @@ -39,9 +39,16 @@ in }; config = mkIf cfg.enable { + services.redis.servers.appview = { + enable = true; + port = 6379; + }; + systemd.services.appview = { description = "tangled appview service"; wantedBy = ["multi-user.target"]; + after = ["redis-appview.service"]; + requires = ["redis-appview.service"]; serviceConfig = { ListenStream = "0.0.0.0:${toString cfg.port}"; -- 2.51.2