add sdr tools

This commit is contained in:
Cyryl Płotnicki 2023-03-26 10:49:37 +01:00
parent 569119a89b
commit 9bfb975517
2 changed files with 22 additions and 0 deletions

View file

@ -14,6 +14,7 @@
../../libvirt.nix
../../mercurial
../../vim
../../sdr.nix
];
fileSystems."/" = { options = [ "compress=zstd" ]; };

21
nixos/sdr.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, pkgs, inputs, ... }:
{
home-manager.users.cyryl = { ... }: {
imports = [ ];
home.packages =
with inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux";
with gnuradio3_8Packages;
[ gnuradio osmosdr gqrx audacity rtl-sdr inspectrum ] ++
(with pkgs; [ ]);
};
services.udev = {
packages = [ pkgs.rtl-sdr ];
extraRules = "";
};
# dont load DVB-T modules automatically
boot.blacklistedKernelModules = [ "dvb_usb_rtl28xxu" ];
}