mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 04:04:35 +00:00
Add qbittorrent
This commit is contained in:
parent
874cbcec70
commit
183c97f992
|
@ -3,5 +3,6 @@ _: {
|
||||||
./wayland.nix
|
./wayland.nix
|
||||||
./stremio.nix
|
./stremio.nix
|
||||||
./nomacs.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;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
nomacs.enable = true;
|
nomacs.enable = true;
|
||||||
|
qbittorrent.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,6 +34,7 @@ in
|
||||||
autoStart = mkEnableOption "Auto-Start for Vesktop";
|
autoStart = mkEnableOption "Auto-Start for Vesktop";
|
||||||
};
|
};
|
||||||
nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)";
|
nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)";
|
||||||
|
qbittorrent.enable = mkEnableOption "Qbittorrent (Free software BitTorrent client)";
|
||||||
};
|
};
|
||||||
|
|
||||||
tools = {
|
tools = {
|
||||||
|
|
Loading…
Reference in a new issue