From 418c17b6668b9c3f2c13fb18c254e2dda9ba7ad2 Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Tue, 4 Mar 2025 17:00:35 +0100 Subject: [PATCH] Run Bookwyrm service under dedicated user --- packages/bookwyrm/nixos-module.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/bookwyrm/nixos-module.nix b/packages/bookwyrm/nixos-module.nix index 43924c8..3c7b364 100644 --- a/packages/bookwyrm/nixos-module.nix +++ b/packages/bookwyrm/nixos-module.nix @@ -21,6 +21,9 @@ with pkgs . kernelmaft ; # Creates /var/lib/bookwyrm directory StateDirectory=bookwyrm + + User=bookwyrm + Group=bookwyrm '' ; } ; } ;