NixOS-Config/nixos/server/package-configs/aria2/configuration.nix
2024-01-06 16:54:15 +01:00

16 lines
246 B
Nix

{
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;
};
}