From cd9f709582632038119a6d8abfd1b3108994b85e Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 22 Jan 2017 21:58:39 +0100 Subject: [PATCH] flannel service: fix enable expression Need to surround the equality check in parentheses. --- nixos/modules/services/networking/flannel.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/flannel.nix b/nixos/modules/services/networking/flannel.nix index ca47a18bc1f6..b93e28e34efd 100644 --- a/nixos/modules/services/networking/flannel.nix +++ b/nixos/modules/services/networking/flannel.nix @@ -149,6 +149,6 @@ in { serviceConfig.ExecStart = "${cfg.package}/bin/flannel"; }; - services.etcd.enable = mkDefault cfg.etcd.endpoints == ["http://127.0.0.1:2379"]; + services.etcd.enable = mkDefault (cfg.etcd.endpoints == ["http://127.0.0.1:2379"]); }; }