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

12 lines
182 B
Nix
Raw Normal View History

2022-12-19 09:09:08 +00:00
{
config,
pkgs,
...
}: let
2022-06-04 12:51:36 +01:00
download = pkgs.writeShellScriptBin "download" ''
${pkgs.aria}/bin/aria2c -x 16 -s 16 $@
'';
in {
2022-12-19 09:09:08 +00:00
home.packages = with pkgs; [download];
2022-06-04 12:51:36 +01:00
}