NixOS-Config/nixos/server/package-configs/aria2/configuration.nix

27 lines
471 B
Nix
Raw Normal View History

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