You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
687 B
Nix
27 lines
687 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf mkMerge mkThenElse;
|
|
annuaire = config.r6d.machines;
|
|
currentMachine = annuaire."${config.networking.hostName}";
|
|
flags = currentMachine.configurationFlags;
|
|
in
|
|
|
|
mkIf (flags.radio && flags.graphical) {
|
|
|
|
# Paquets
|
|
environment.systemPackages = with pkgs; [
|
|
## GUI
|
|
gqrx # GUI
|
|
#gnuradio # Software Defined Radio (SDR) software
|
|
gnuradio-with-packages
|
|
|
|
## A Trier
|
|
#
|
|
#gnuradio-osmosdr # Gnuradio block for OsmoSDR and rtl-sdr
|
|
|
|
inspectrum # Tool for analysing captured signals from sdr receivers
|
|
kalibrate-rtl # Calculate local oscillator frequency offset in RTL-SDR devices
|
|
];
|
|
}
|