mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 09:19:40 +00:00
18 lines
240 B
Nix
18 lines
240 B
Nix
|
{
|
||
|
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
|
||
|
];
|
||
|
};
|
||
|
}
|
||
|
|