radiobert: remove bladeRF
This commit is contained in:
parent
2906a5d735
commit
d152e54c15
|
@ -88,7 +88,6 @@ in
|
||||||
nameservers = [ "172.20.73.8" "9.9.9.9" ];
|
nameservers = [ "172.20.73.8" "9.9.9.9" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.bladeRF.enable = true;
|
|
||||||
users.users.soapysdr = {
|
users.users.soapysdr = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = "soapysdr";
|
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 = {
|
services.collectd.plugins = {
|
||||||
curl_json = ''
|
curl_json = ''
|
||||||
<URL "http://localhost:8073/metrics.json">
|
<URL "http://localhost:8073/metrics.json">
|
||||||
|
@ -165,7 +143,6 @@ in
|
||||||
wget
|
wget
|
||||||
dump1090_sdrplus
|
dump1090_sdrplus
|
||||||
soapysdr-with-plugins
|
soapysdr-with-plugins
|
||||||
libbladeRF
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.tmux.enable = true;
|
programs.tmux.enable = true;
|
||||||
|
|
Loading…
Reference in New Issue