diff options
author | Griffin Smith <root@gws.fyi> | 2020-05-26T14·29-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2020-05-26T14·46-0400 |
commit | 0e9a2388bf9e1a3258b19ebd00da0a804875ad10 (patch) | |
tree | 2dd6bef5f79312efae6bfcdf40af7ed6592ee9f9 /system/modules/rtlsdr.nix | |
parent | 82c0404c4fccc163fab4efa11f0fb8986de8858d (diff) |
Start of an RTL-SDR module
Diffstat (limited to 'system/modules/rtlsdr.nix')
-rw-r--r-- | system/modules/rtlsdr.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/system/modules/rtlsdr.nix b/system/modules/rtlsdr.nix new file mode 100644 index 0000000000..ce58ebb0dc --- /dev/null +++ b/system/modules/rtlsdr.nix @@ -0,0 +1,17 @@ +{ config, lib, pkgs, ... }: + +{ + + environment.systemPackages = with pkgs; [ + rtl-sdr + ]; + + services.udev.packages = with pkgs; [ + rtl-sdr + ]; + + # blacklist for rtl-sdr + boot.blacklistedKernelModules = [ + "dvb_usb_rtl28xxu" + ]; +} |