Fix GID of Jellyseerr

Run media containers with umask
This commit is contained in:
Pim Kunis 2025-01-06 12:58:02 +01:00
parent abb7a131bc
commit 9ae4ff3ca3
6 changed files with 17 additions and 9 deletions

View file

@ -1,17 +1,20 @@
{
config,
lib,
nglib,
...
}: {
dinit.enable = true;
init.services.jellyseerr.shutdownOnExit = true;
init.services.jellyseerr = {
shutdownOnExit = true;
group = lib.mkForce "media";
};
services.jellyseerr = {
enable = true;
configDir = "/app/config";
};
# TODO: should actually make this the main GID I think
users.groups.media = nglib.mkDefaultRec {
gid = config.ids.gids.media;
members = ["jellyseerr"];