This repository has no description
608 B
18 lines
1{ pkgs, ... }:
2{
3 # Blacklist DVB-T driver so rtl-sdr can use the device
4 boot.blacklistedKernelModules = [ "dvb_usb_rtl28xxu" ];
5
6 # Use rtl-sdr-blog for V4 support (also works with V3 and other RTL-SDRs)
7 # This installs udev rules for all known RTL-SDR devices
8 services.udev.packages = [ pkgs.rtl-sdr-blog ];
9
10 # Ensure plugdev group exists and mainUser is a member (used by rtl-sdr udev rules)
11 users.groups.plugdev = { };
12 users.users.mainUser.extraGroups = [ "plugdev" ];
13
14 # SDR and TETRA tools
15 environment.systemPackages = [
16 pkgs.rtl-sdr-blog # V4 compatible drivers and tools
17 ];
18}