add sdr tools
This commit is contained in:
parent
569119a89b
commit
9bfb975517
2 changed files with 22 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
../../libvirt.nix
|
||||
../../mercurial
|
||||
../../vim
|
||||
../../sdr.nix
|
||||
];
|
||||
|
||||
fileSystems."/" = { options = [ "compress=zstd" ]; };
|
||||
|
|
21
nixos/sdr.nix
Normal file
21
nixos/sdr.nix
Normal 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" ];
|
||||
}
|
Loading…
Reference in a new issue