1 { config, lib, pkgs, ... }:
6 cfg = config.hardware.bladeRF;
11 options.hardware.bladeRF = {
15 description = lib.mdDoc ''
16 Enables udev rules for BladeRF devices. By default grants access
17 to users in the "bladerf" group. You may want to install the
24 config = mkIf cfg.enable {
25 services.udev.packages = [ pkgs.libbladeRF ];
26 users.groups.bladerf = {};