Try and fix the aria2 situation
This commit is contained in:
parent
520f3040f9
commit
6dd39df0b5
5 changed files with 35 additions and 3 deletions
25
nixos/package-configs/aria2/configuration.nix
Normal file
25
nixos/package-configs/aria2/configuration.nix
Normal 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";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: {
|
||||
users.users = {
|
||||
ombi.extraGroups = ["radarr" "sonarr"];
|
||||
ombi.extraGroups = ["radarr" "sonarr" "aria2"];
|
||||
};
|
||||
services.ombi = {
|
||||
enable = true;
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
users.users = {
|
||||
radarr.extraGroups = ["aria2"];
|
||||
};
|
||||
#uses port 7878
|
||||
services.radarr = {
|
||||
enable = true;
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
users.users = {
|
||||
sonarr.extraGroups = ["aria2"];
|
||||
};
|
||||
#uses port 8989
|
||||
services.sonarr = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue