2020-03-03 21:33:49 +01:00
|
|
|
{ callPackage }:
|
2020-03-02 10:10:21 +01:00
|
|
|
|
|
|
|
{
|
2020-03-04 08:48:01 +01:00
|
|
|
# All the defaults
|
|
|
|
connman = callPackage ./connman.nix { };
|
|
|
|
|
2020-03-02 10:10:21 +01:00
|
|
|
connmanFull = callPackage ./connman.nix {
|
2020-03-28 10:28:29 +01:00
|
|
|
# TODO: Why is this in `connmanFull` and not the default build? See TODO in
|
|
|
|
# nixos/modules/services/networking/connman.nix (near the assertions)
|
2020-03-02 10:10:21 +01:00
|
|
|
enableNetworkManager = true;
|
|
|
|
enableHh2serialGps = true;
|
|
|
|
enableL2tp = true;
|
|
|
|
enableIospm = true;
|
|
|
|
enableTist = true;
|
2014-01-04 01:13:26 +01:00
|
|
|
};
|
|
|
|
|
2020-03-03 21:33:49 +01:00
|
|
|
connmanMinimal = callPackage ./connman.nix {
|
2020-03-02 10:10:21 +01:00
|
|
|
enableOpenconnect = false;
|
|
|
|
enableOpenvpn = false;
|
|
|
|
enableVpnc = false;
|
|
|
|
vpnc = false;
|
|
|
|
enablePolkit = false;
|
|
|
|
enablePptp = false;
|
|
|
|
enableLoopback = false;
|
|
|
|
# enableEthernet = false; # If disabled no ethernet connection can be performed
|
|
|
|
enableWireguard = false;
|
|
|
|
enableGadget = false;
|
|
|
|
# enableWifi = false; # If disabled no WiFi connection can be performed
|
|
|
|
enableBluetooth = false;
|
|
|
|
enableOfono = false;
|
|
|
|
enableDundee = false;
|
|
|
|
enablePacrunner = false;
|
|
|
|
enableNeard = false;
|
|
|
|
enableWispr = false;
|
|
|
|
enableTools = false;
|
|
|
|
enableStats = false;
|
|
|
|
enableClient = false;
|
|
|
|
# enableDatafiles = false; # If disabled, configuration and data files are not installed
|
2020-03-03 21:33:49 +01:00
|
|
|
};
|
2014-01-04 01:13:26 +01:00
|
|
|
}
|