nixos-piaware/modules/options/piaware.nix

27 lines
843 B
Nix
Raw Normal View History

2023-12-13 23:32:42 -06:00
{ lib, UUID }:
lib.options.mkOption {
type = lib.types.submodule {
options = {
enable = lib.options.mkEnableOption "PiAware";
feederId = lib.options.mkOption {
type = lib.types.nullOr UUID;
default = null;
description = "PiAware feeder ID";
};
allowMLAT = lib.options.mkOption {
type = lib.types.bool;
default = true;
description = "Should PiAware enable multilateration where possible? You may need to disable this if multilateration overloads your receiver";
};
allowModeAC = lib.options.mkOption {
type = lib.types.bool;
default = true;
description = "Should PiAware enable reception of Mode A/C messages when requested? You may need to disable this if processing Mode A/C overloads your receiver.";
};
};
};
}