{ pkgs, ... }:
{
  home.packages = [ pkgs.aria2 ];
  xdg.configFile."aria2/aria2.conf".text = ''
    continue=true
    # Usually not great for compression by the filesystem (ZFS/Btrfs).
    file-allocation=none
    max-connection-per-server=16
    min-split-size=1M
  '';
}