···88, libmnl
99, gnutls
1010, readline
1111-# Choices one has to decide
1111+# configureable options
1212, firewallType ? "iptables" # or "nftables"
1313, iptables ? null
1414, libnftnl ? null # for nftables
···8181 ++ stdenv.lib.optionals (firewallType == "nftables") [ libnftnl ]
8282 ;
83838484- # Fix file program not found
8484+ # fix invalid path to 'file'
8585 preConfigure = ''
8686 sed -i "s/\/usr\/bin\/file/file/g" ./configure
8787 '';
···9999 # production build flags
100100 "--disable-maintainer-mode"
101101 "--enable-session-policy-local=builtin"
102102- # This is for building and running tests (probably enabled by default),
103103- # --enable-tests installs the tests as well
102102+ # for building and running tests
103103+ # --enable-tests # installs the tests, we don't want that
104104 "--enable-tools"
105105 ]
106106 ++ stdenv.lib.optionals (!enableLoopback) [ "--disable-loopback" ]
···108108 ++ stdenv.lib.optionals (!enableWireguard) [ "--disable-wireguard" ]
109109 ++ stdenv.lib.optionals (!enableGadget) [ "--disable-gadget" ]
110110 ++ stdenv.lib.optionals (!enableWifi) [ "--disable-wifi" ]
111111- # We (almost) always turn on IWD support as it doesn't require any new dependencies
112112- # and it's easier for the NixOS module to use only 1 connmand package when
111111+ # enable IWD support for wifi as it doesn't require any new dependencies
112112+ # and it's easier for the NixOS module to use only one connman package when
113113 # IWD is requested
114114 ++ stdenv.lib.optionals (enableWifi) [ "--enable-iwd" ]
115115 ++ stdenv.lib.optionals (!enableBluetooth) [ "--disable-bluetooth" ]
+3-3
pkgs/top-level/all-packages.nix
···25592559 enablePolkit = false;
25602560 enablePptp = false;
25612561 enableLoopback = false;
25622562- # enableEthernet = false;
25622562+ # enableEthernet = false; # If disabled no ethernet connection can be performed
25632563 enableWireguard = false;
25642564 enableGadget = false;
25652565- # enableWifi = false;
25652565+ # enableWifi = false; # If disabled no WiFi connection can be performed
25662566 enableBluetooth = false;
25672567 enableOfono = false;
25682568 enableDundee = false;
···25722572 enableTools = false;
25732573 enableStats = false;
25742574 enableClient = false;
25752575- # enableDatafiles = false;
25752575+ # enableDatafiles = false; # If disabled, configuration and data files are not installed
25762576 };
25772577 connmanFull = callPackage ../tools/networking/connman {
25782578 enableNetworkManager = true;