From ecefd2167af6368a0ad26815080e368da246b213 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 1 Feb 2016 19:33:50 +0100 Subject: [PATCH] nixos/connman: Fix assertion for networkmanager Regression introduced by 5184aaa1ea93368cb993b1e8e5862adb6e305110. 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 Reported-by: devhell <"^"@regexmail.net> --- nixos/modules/services/networking/connman.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/connman.nix b/nixos/modules/services/networking/connman.nix index 8526d09f235..3fecfbb13a0 100644 --- a/nixos/modules/services/networking/connman.nix +++ b/nixos/modules/services/networking/connman.nix @@ -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"; }];