nix-config/modules/nix/networking/qbittorrent.nix
smayzy 2535c0966b
All checks were successful
nixos config pipeline / show-flake (push) Successful in 27s
nixos config pipeline / deploy (push) Successful in 36s
add qbittorrent
2025-11-01 17:16:49 +01:00

21 lines
333 B
Nix

{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.qbittorrent.enable = mkOption {
type = types.bool;
default = false;
description = "qbittorrent";
};
config = mkIf config.smayzy.qbittorrent.enable {
environment.systemPackages = with pkgs; [ qbittorrent ];
};
}