From 4ef542df06f2230e40dbb77071487599e777b8d1 Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Thu, 13 Mar 2025 14:44:08 +0100 Subject: [PATCH] Run Redis servers under 'bookwyrm' user in Bookwyrm NixOS module --- packages/bookwyrm/nixos-module.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/bookwyrm/nixos-module.nix b/packages/bookwyrm/nixos-module.nix index 0b0d5dc..968938c 100644 --- a/packages/bookwyrm/nixos-module.nix +++ b/packages/bookwyrm/nixos-module.nix @@ -79,9 +79,13 @@ with pkgs . kernelmaft ; servers = { bookwyrm-activity = { enable = true ; + user = "bookwyrm" ; + group = "bookwyrm" ; } ; bookwyrm-broker = { enable = true ; + user = "bookwyrm" ; + group = "bookwyrm" ; } ; } ; } ;