Add qbittorrent

This commit is contained in:
ItsDrike 2024-06-21 11:44:56 +02:00
parent 874cbcec70
commit 183c97f992
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
4 changed files with 20 additions and 0 deletions

View file

@ -3,5 +3,6 @@ _: {
./wayland.nix ./wayland.nix
./stremio.nix ./stremio.nix
./nomacs.nix ./nomacs.nix
./qbittorrent.nix
]; ];
} }

View file

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

View file

@ -174,6 +174,7 @@
autoStart = true; autoStart = true;
}; };
nomacs.enable = true; nomacs.enable = true;
qbittorrent.enable = true;
}; };
}; };
}; };

View file

@ -34,6 +34,7 @@ in
autoStart = mkEnableOption "Auto-Start for Vesktop"; autoStart = mkEnableOption "Auto-Start for Vesktop";
}; };
nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)"; nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)";
qbittorrent.enable = mkEnableOption "Qbittorrent (Free software BitTorrent client)";
}; };
tools = { tools = {