diff --git a/home/packages/gui/default.nix b/home/packages/gui/default.nix index 9c7f80c..cbc8417 100644 --- a/home/packages/gui/default.nix +++ b/home/packages/gui/default.nix @@ -3,5 +3,6 @@ _: { ./wayland.nix ./stremio.nix ./nomacs.nix + ./qbittorrent.nix ]; } diff --git a/home/packages/gui/qbittorrent.nix b/home/packages/gui/qbittorrent.nix new file mode 100644 index 0000000..2275b25 --- /dev/null +++ b/home/packages/gui/qbittorrent.nix @@ -0,0 +1,17 @@ +{ + lib, + pkgs, + osConfig, + ... +}: let + inherit (lib) mkIf; + + cfg = osConfig.myOptions.home-manager.programs.applications.qbittorrent; +in { + config = mkIf cfg.enable { + home.packages = with pkgs; [ + qbittorrent + ]; + }; +} + diff --git a/hosts/voyager/default.nix b/hosts/voyager/default.nix index 1052e46..29a6a30 100644 --- a/hosts/voyager/default.nix +++ b/hosts/voyager/default.nix @@ -174,6 +174,7 @@ autoStart = true; }; nomacs.enable = true; + qbittorrent.enable = true; }; }; }; diff --git a/options/home/programs/default.nix b/options/home/programs/default.nix index 4a91423..f602885 100644 --- a/options/home/programs/default.nix +++ b/options/home/programs/default.nix @@ -34,6 +34,7 @@ in autoStart = mkEnableOption "Auto-Start for Vesktop"; }; nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)"; + qbittorrent.enable = mkEnableOption "Qbittorrent (Free software BitTorrent client)"; }; tools = {