Start of an RTL-SDR module

This commit is contained in:
Griffin Smith 2020-05-26 10:29:39 -04:00
parent 82c0404c4f
commit 0e9a2388bf
4 changed files with 40 additions and 0 deletions

View file

@ -7,6 +7,7 @@
./fonts.nix
./sound.nix
./kernel.nix
./rtlsdr.nix
/home/grfn/code/urb/urbos/system
];

17
system/modules/rtlsdr.nix Normal file
View file

@ -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"
];
}