connman: move its expression to a dedicated directory

It is a typical pattern of Nixpkgs, and also helps when adding extra files like
updating scripts, custom patches &c.
This commit is contained in:
AndersonTorres 2022-11-10 07:41:02 -03:00
parent ec77cad97b
commit aaa6a5cf0b
2 changed files with 3 additions and 3 deletions

View file

@ -2,9 +2,9 @@
{
# All the defaults
connman = callPackage ./connman.nix { };
connman = callPackage ./connman { };
connmanFull = callPackage ./connman.nix {
connmanFull = connman.override {
# TODO: Why is this in `connmanFull` and not the default build? See TODO in
# nixos/modules/services/networking/connman.nix (near the assertions)
enableNetworkManager = true;
@ -14,7 +14,7 @@
enableTist = true;
};
connmanMinimal = callPackage ./connman.nix {
connmanMinimal = connman.override {
enableOpenconnect = false;
enableOpenvpn = false;
enableVpnc = false;