VEGAS/fbi: use local mediamanagers group
This commit is contained in:
parent
33a62b37ad
commit
5fb0285de2
1 changed files with 7 additions and 3 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue