dotfiles/nixos/home-manager/scripts/download.nix

11 lines
182 B
Nix

{
config,
pkgs,
...
}: let
download = pkgs.writeShellScriptBin "download" ''
${pkgs.aria}/bin/aria2c -x 16 -s 16 $@
'';
in {
home.packages = with pkgs; [download];
}