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;
|
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;
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
./kdeconnect
|
./kdeconnect
|
||||||
./nemo
|
./nemo
|
||||||
./transmission
|
./transmission
|
||||||
|
./qbittorrent
|
||||||
./kcc
|
./kcc
|
||||||
./calibre
|
./calibre
|
||||||
./mangal
|
./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