NixOS-Config/nixos/server/package-configs/aria2/configuration.nix
2024-01-04 14:49:45 +01:00

27 lines
471 B
Nix

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