Fix GID of Jellyseerr
Run media containers with umask
This commit is contained in:
parent
abb7a131bc
commit
9ae4ff3ca3
6 changed files with 17 additions and 9 deletions
|
@ -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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue