Disable `assert` in module ad-hoc

Let’s say I think I know better than the module writer but they prevent me from doing what I want with an assert in the module. Can I disable all or just particular asserts of a module?

E.g. I want to use services.wireless and services.networkmanager at the same time and have them manage different interfaces.

E.g. I want to use services.wireless and services.networkmanager at the same time and have them manage different interfaces.

Maybe evaluate them in different partial configurations, take the services and add them to your true one?

{lib, ...}: {
  assertions = lib.mkForce [];
  networking.wireless.enable = lib.mkOverride 0 true; # build-vm disables this with priority 10
  networking.networkmanager.enable = true;
}

seems to work but we probably do not want to throw the baby out with the bathwater.