13 lines
284 B
Nix
13 lines
284 B
Nix
{ lib, config, pkgs, ... }: {
|
|
options = {
|
|
config.downloadSoftwares = lib.mkEnableOption "Enable qbittorrent, aria2 and yt-dlp";
|
|
};
|
|
|
|
config = lib.mkIf config.downloadSoftwares.enable {
|
|
home.packages = with pkgs; [
|
|
yt-dlp
|
|
qbittorrent
|
|
aria2
|
|
];
|
|
};
|
|
}
|