add qbittorrent

This commit is contained in:
Sakooooo 2024-08-21 18:34:12 +04:00
parent 8bb1ee81a8
commit 4d30a20a9a
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 18 additions and 1 deletions

View file

@ -51,7 +51,8 @@
pass.enable = true; pass.enable = true;
rssguard.enable = true; rssguard.enable = true;
nicotineplus.enable = true; nicotineplus.enable = true;
transmission.enable = true; transmission.enable = false;
qbittorrent.enable = true;
obs.enable = true; obs.enable = true;
nextcloud.enable = true; nextcloud.enable = true;
localsend.enable = true; localsend.enable = true;

View file

@ -7,6 +7,7 @@
./kdeconnect ./kdeconnect
./nemo ./nemo
./transmission ./transmission
./qbittorrent
./kcc ./kcc
./calibre ./calibre
./mangal ./mangal

View file

@ -0,0 +1,15 @@
{ outputs, options, config, lib, pkgs, ...}:
let
cfg = config.modules.desktop.apps.qbittorrent;
in
{
options.modules.desktop.apps.qbittorrent = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
qbittorrent
];
};
}