Try and fix the aria2 situation

This commit is contained in:
Lillian-Violet 2024-01-04 13:32:13 +01:00
parent b280f8d9a5
commit 84899440ed
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";
# };
# };
# };
# };
}