Try and fix the aria2 situation

This commit is contained in:
Lillian Violet 2024-01-04 13:32:13 +01:00
parent 520f3040f9
commit 6dd39df0b5
5 changed files with 35 additions and 3 deletions

View file

@ -0,0 +1,25 @@
{
config,
pkgs,
...
}: {
users.users = {
aria2.extraGroups = ["jellyfin" "nextcloud"];
};
services.aria2 = {
enable = true;
downloadDir = "/var/lib/media";
};
# services.nginx = {
# virtualHosts = {
# "aria2.gladtherescake.eu" = {
# forceSSL = true;
# enableACME = true;
# locations."/" = {
# proxyPass = "http://localhost:6800";
# };
# };
# };
# };
}

View file

@ -4,7 +4,7 @@
...
}: {
users.users = {
ombi.extraGroups = ["radarr" "sonarr"];
ombi.extraGroups = ["radarr" "sonarr" "aria2"];
};
services.ombi = {
enable = true;

View file

@ -3,6 +3,9 @@
pkgs,
...
}: {
users.users = {
radarr.extraGroups = ["aria2"];
};
#uses port 7878
services.radarr = {
enable = true;

View file

@ -3,6 +3,9 @@
pkgs,
...
}: {
users.users = {
sonarr.extraGroups = ["aria2"];
};
#uses port 8989
services.sonarr = {
enable = true;