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 /home | |
parent | 82c0404c4fccc163fab4efa11f0fb8986de8858d (diff) |
Start of an RTL-SDR module
Diffstat (limited to 'home')
-rw-r--r-- | home/machines/chupacabra.nix | 1 | ||||
-rw-r--r-- | home/modules/rtlsdr.nix | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/home/machines/chupacabra.nix b/home/machines/chupacabra.nix index 86be9b361ddf..69d1c604a63a 100644 --- a/home/machines/chupacabra.nix +++ b/home/machines/chupacabra.nix @@ -7,6 +7,7 @@ in { ../modules/common.nix ../modules/games.nix + ../modules/rtlsdr.nix ]; system.machine = { diff --git a/home/modules/rtlsdr.nix b/home/modules/rtlsdr.nix new file mode 100644 index 000000000000..a1c717617a62 --- /dev/null +++ b/home/modules/rtlsdr.nix @@ -0,0 +1,21 @@ +{ config, lib, pkgs, ... }: + +let + + nixpkgs-gnuradio = import (pkgs.fetchFromGitHub { + owner = "doronbehar"; + repo = "nixpkgs"; + rev = "712561aa5f10bfe6112a1726a912585612a70d1f"; + sha256 = "04yqflbwjcfl9vlplphpj82csqqz9k6m3nj1ybhwgmsc4by7vivl"; + }) {}; + +in + +{ + home.packages = with pkgs; [ + rtl-sdr + nixpkgs-gnuradio.gnuradio + nixpkgs-gnuradio.gnuradio.plugins.osmosdr + nixpkgs-gnuradio.gqrx + ]; +} |