mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 17:24:35 +00:00
Add qbittorrent
This commit is contained in:
parent
874cbcec70
commit
183c97f992
|
@ -3,5 +3,6 @@ _: {
|
|||
./wayland.nix
|
||||
./stremio.nix
|
||||
./nomacs.nix
|
||||
./qbittorrent.nix
|
||||
];
|
||||
}
|
||||
|
|
17
home/packages/gui/qbittorrent.nix
Normal file
17
home/packages/gui/qbittorrent.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -174,6 +174,7 @@
|
|||
autoStart = true;
|
||||
};
|
||||
nomacs.enable = true;
|
||||
qbittorrent.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue