nixos/connman: Fix assertion for networkmanager

Regression introduced by 5184aaa1ea.

The fix was intended to remove the "x == true/false" assertions, but by
accident a "x == false" was made "x == true" instead of "(!x)".

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: devhell <"^"@regexmail.net>
This commit is contained in:
aszlig 2016-02-01 19:33:50 +01:00
parent 45c218f893
commit ecefd2167a
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -59,7 +59,7 @@ in {
assertion = config.networking.wireless.enable;
message = "You must use services.networking.connman with services.networking.wireless";
}{
assertion = config.networking.networkmanager.enable;
assertion = !config.networking.networkmanager.enable;
message = "You can not use services.networking.connman with services.networking.networkmanager";
}];