nix-config/modules/desktop/apps/qbittorrent.nix
Jordan Holt 8bb21d349b
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m50s
Accept qBittorrent as insecure
2024-11-07 13:32:32 +00:00

23 lines
498 B
Nix

{ config, lib, pkgs, ... }:
let cfg = config.modules.desktop.apps.qbittorrent;
in {
options.modules.desktop.apps.qbittorrent = {
enable = lib.mkOption {
default = false;
example = true;
};
};
config = lib.mkIf cfg.enable {
/* Potential Remote Code Execution https://www.openwall.com/lists/oss-security/2024/10/30/4 */
nixpkgs.config.permittedInsecurePackages = [
"qbittorrent-4.6.4"
];
user.packages = with pkgs; [
qbittorrent
];
};
}