VEGAS/fbi: use local mediamanagers group

This commit is contained in:
Max Headroom 2022-08-26 23:44:17 +02:00
parent 33a62b37ad
commit 5fb0285de2

View file

@ -17,14 +17,19 @@ with tools.nginx;
}; };
}; };
users = {
groups.mediamanagers.gid = 646000020;
users = {
radarr.extraGroups = [ "mediamanagers" ];
sonarr.extraGroups = [ "mediamanagers" ];
};
};
services = { services = {
radarr = { radarr = {
enable = true; enable = true;
user = "svcradarr";
}; };
sonarr = { sonarr = {
enable = true; enable = true;
user = "svcsonarr";
}; };
prowlarr = { prowlarr = {
enable = true; enable = true;
@ -41,7 +46,6 @@ with tools.nginx;
fbi-requests = vhosts.proxy ombi.url; fbi-requests = vhosts.proxy ombi.url;
}; };
}; };
systemd.slices.mediamanagement.after = [ "nss-user-lookup.target" ];
systemd.services.radarr.serviceConfig.Slice = "mediamanagement.slice"; systemd.services.radarr.serviceConfig.Slice = "mediamanagement.slice";
systemd.services.sonarr.serviceConfig.Slice = "mediamanagement.slice"; systemd.services.sonarr.serviceConfig.Slice = "mediamanagement.slice";
systemd.services.prowlarr = { systemd.services.prowlarr = {