add qbittorrent
This commit is contained in:
parent
8bb1ee81a8
commit
4d30a20a9a
3 changed files with 18 additions and 1 deletions
|
@ -51,7 +51,8 @@
|
|||
pass.enable = true;
|
||||
rssguard.enable = true;
|
||||
nicotineplus.enable = true;
|
||||
transmission.enable = true;
|
||||
transmission.enable = false;
|
||||
qbittorrent.enable = true;
|
||||
obs.enable = true;
|
||||
nextcloud.enable = true;
|
||||
localsend.enable = true;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
./kdeconnect
|
||||
./nemo
|
||||
./transmission
|
||||
./qbittorrent
|
||||
./kcc
|
||||
./calibre
|
||||
./mangal
|
||||
|
|
15
modules/desktop/apps/qbittorrent/default.nix
Normal file
15
modules/desktop/apps/qbittorrent/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue