nix-system/additional-software.nix
2024-06-03 15:26:27 +02:00

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
];
};
}