13 lines
270 B
Nix
13 lines
270 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
dirModules = config.features.modules.networking or { };
|
|
in
|
|
{
|
|
config = lib.mkIf ((dirModules.enable or false) && (dirModules.qbittorrent.enable or true)) {
|
|
environment.systemPackages = with pkgs; [
|
|
qbittorrent
|
|
];
|
|
};
|
|
}
|