Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
123456789101112131415161718192021222324252627282930{ config, lib, pkgs, ...}:
let cfg = config.hardware.hackrf;
in{ options.hardware.hackrf = { enable = lib.mkOption { type = lib.types.bool; default = false; description = '' Enables hackrf udev rules and ensures 'plugdev' group exists. This is a prerequisite to using HackRF devices without being root, since HackRF USB descriptors will be owned by plugdev through udev. Ensure your user is a member of the 'plugdev' group after enabling. ''; }; };
config = lib.mkIf cfg.enable { services.udev.packages = [ pkgs.hackrf ]; users.groups.plugdev = { }; };}