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

12 lines
181 B
Nix
Raw Normal View History

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