about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-02-01 19:33:50 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-02-01 19:33:50 +0100
commitecefd2167af6368a0ad26815080e368da246b213 (patch)
tree6bb830ccb72c822d017c4e51735cf6c3b860a775 /nixos/modules
parent45c218f893d38f94cd62fc256117b9fb1a0d1749 (diff)
downloadnixlib-ecefd2167af6368a0ad26815080e368da246b213.tar
nixlib-ecefd2167af6368a0ad26815080e368da246b213.tar.gz
nixlib-ecefd2167af6368a0ad26815080e368da246b213.tar.bz2
nixlib-ecefd2167af6368a0ad26815080e368da246b213.tar.lz
nixlib-ecefd2167af6368a0ad26815080e368da246b213.tar.xz
nixlib-ecefd2167af6368a0ad26815080e368da246b213.tar.zst
nixlib-ecefd2167af6368a0ad26815080e368da246b213.zip
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 <aszlig@redmoonstudios.org>
Reported-by: devhell <"^"@regexmail.net>
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/connman.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/connman.nix b/nixos/modules/services/networking/connman.nix
index 8526d09f2353..3fecfbb13a04 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";
     }];