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

16 lines
246 B
Nix
Raw Normal View History

2024-01-04 13:32:13 +01:00
{
config,
pkgs,
...
}: {
users.users.aria2.group = "aria2";
users.groups.aria2 = {};
users.users.aria2.isSystemUser = true;
services.aria2 = {
enable = true;
downloadDir = "/var/lib/media";
rpcListenPort = 6969;
2024-01-04 22:25:34 +01:00
};
2024-01-04 13:32:13 +01:00
}