summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-02-13 17:13:55 +0100
committerlassulus <lassulus@lassul.us>2018-02-13 17:20:40 +0100
commitbe0a02f5d696aeb79312ee172e0d77d5c32229a3 (patch)
tree75fd065a537256a57b833c390499adc7f90721bc /lass/2configs
parent119856187d954204592ac9d702b9c0327db82eb1 (diff)
l: add rtl-sdr
Diffstat (limited to 'lass/2configs')
-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"
+ '';
+}