1 { config, lib, pkgs, ... }:
3 cfg = config.hardware.bladeRF;
8 options.hardware.bladeRF = {
9 enable = lib.mkOption {
10 type = lib.types.bool;
13 Enables udev rules for BladeRF devices. By default grants access
14 to users in the "bladerf" group. You may want to install the
21 config = lib.mkIf cfg.enable {
22 services.udev.packages = [ pkgs.libbladeRF ];
23 users.groups.bladerf = {};