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:
parent
ec77cad97b
commit
aaa6a5cf0b
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue