radiobert: remove bladeRF

This commit is contained in:
Astro 2021-10-09 02:38:14 +02:00
parent 2906a5d735
commit d152e54c15
1 changed files with 0 additions and 23 deletions

View File

@ -88,7 +88,6 @@ in
nameservers = [ "172.20.73.8" "9.9.9.9" ];
};
hardware.bladeRF.enable = true;
users.users.soapysdr = {
isSystemUser = true;
group = "soapysdr";
@ -105,27 +104,6 @@ in
};
};
systemd.services.bladerf-fpga-bitstream = {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart =
let
# bitstream = pkgs.fetchurl {
# url = "https://www.nuand.com/fpga/hostedx40-latest.rbf";
# sha256 = "0fx95rm4004hfxc1708sf35m342iksdhcqiffgxhgkqjd6rxjpz1";
# };
# Matches libbladeRF-2.2.1
bitstream = pkgs.fetchurl {
url = "https://www.nuand.com/fpga/v0.10.2/hostedx40.rbf";
sha256 = "091qiyw971wwbl1z49n8miqmjk4h5m8bv4nyc5zf77j5jjl74j5b";
};
in ''${pkgs.libbladeRF}/bin/bladeRF-cli -d "libusb: instance=0" -l ${bitstream}'';
RemainAfterExit = true;
};
};
services.collectd.plugins = {
curl_json = ''
<URL "http://localhost:8073/metrics.json">
@ -165,7 +143,6 @@ in
wget
dump1090_sdrplus
soapysdr-with-plugins
libbladeRF
];
programs.tmux.enable = true;