30 lines
409 B
Nix
Executable File
30 lines
409 B
Nix
Executable File
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
isEnabled =
|
|
config.azos.gnuradio.enable;
|
|
in {
|
|
options.azos.gnuradio.enable = lib.mkOption {
|
|
default = true;
|
|
example = true;
|
|
type = lib.types.bool;
|
|
};
|
|
|
|
config = lib.mkIf isEnabled {
|
|
home.packages = with pkgs; [
|
|
gnuradio
|
|
uhd
|
|
gmp
|
|
boost
|
|
volk
|
|
libxcursor
|
|
cmake
|
|
pkg-config
|
|
spdlog
|
|
];
|
|
};
|
|
}
|