summaryrefslogtreecommitdiffstats
path: root/lass/2configs/rtl-sdr.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/rtl-sdr.nix')
-rw-r--r--lass/2configs/rtl-sdr.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/lass/2configs/rtl-sdr.nix b/lass/2configs/rtl-sdr.nix
new file mode 100644
index 000000000..7d640ea6c
--- /dev/null
+++ b/lass/2configs/rtl-sdr.nix
@@ -0,0 +1,6 @@
+{
+ boot.blacklistedKernelModules = [ "dvb_usb_rtl28xxu" ];
+ services.udev.extraRules = ''
+ SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", GROUP="adm", MODE="0666", SYMLINK+="rtl_sdr"
+ '';
+}