diff --git a/.gitignore b/.gitignore deleted file mode 100644 index facb804..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -bladerf.conf diff --git a/bladerf.conf b/bladerf.conf new file mode 100644 index 0000000..72df70d --- /dev/null +++ b/bladerf.conf @@ -0,0 +1 @@ +biastee_rx on diff --git a/shell.nix b/shell.nix index 2819bb0..83586e4 100644 --- a/shell.nix +++ b/shell.nix @@ -39,10 +39,7 @@ in wrapQtApp "$out/bin/python" ''; shellHook = '' - cat > bladerf.conf << EOF - fpga ${bitstream} - biastee_rx on - EOF + ${pkgs.libbladeRF}/bin/bladeRF-cli -l ${bitstream} ''; QT_QPA_PLATFORM = "wayland"; }