add qbittorrent
All checks were successful
nixos config pipeline / show-flake (push) Successful in 27s
nixos config pipeline / deploy (push) Successful in 36s

This commit is contained in:
smayzy 2025-11-01 17:16:49 +01:00
parent 684e083884
commit 2535c0966b
3 changed files with 22 additions and 0 deletions

View File

@ -62,6 +62,7 @@
gateway = "192.168.1.254";
};
};
qbittorrent.enable = true;
};
home-manager = {

View File

@ -3,5 +3,6 @@
imports = [
./openssh.nix
./wireshark.nix
./qbittorrent.nix
];
}

View File

@ -0,0 +1,20 @@
{
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 ];
};
}