diff options
Diffstat (limited to 'system/modules')
-rw-r--r-- | system/modules/common.nix | 1 | ||||
-rw-r--r-- | system/modules/rtlsdr.nix | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/system/modules/common.nix b/system/modules/common.nix index 230652c3da7b..c505d0d5dcd7 100644 --- a/system/modules/common.nix +++ b/system/modules/common.nix @@ -7,6 +7,7 @@ ./fonts.nix ./sound.nix ./kernel.nix + ./rtlsdr.nix /home/grfn/code/urb/urbos/system ]; diff --git a/system/modules/rtlsdr.nix b/system/modules/rtlsdr.nix new file mode 100644 index 000000000000..ce58ebb0dcda --- /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" + ]; +} |