This repository has no description
823 B
22 lines
1{ self, 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 pkgs.gqrx # SDR receiver with spectrum analyzer
18 pkgs.sox # Audio processing for recordings
19 self.packages.${pkgs.system}.tetra-kit
20 self.packages.${pkgs.system}.tetra-receiver
21 ];
22}