nextdns: fix infinite recursion on NixOS
Alan Pearce alan@alanpearce.eu
Fri, 29 Nov 2019 20:40:22 +0100
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M system/modules/nextdns.nix → system/modules/nextdns.nix
@@ -89,8 +89,8 @@ resolvconf.useLocalResolver = true; }; services = { stubby = mkIf (cfg.resolver == "stubby") stubbyConfig; - } // (if !stdenv.isDarwin then { + } // mkIf (!stdenv.isDarwin) { kresd = mkIf (cfg.resolver == "kresd") kresdConfig; - } else {}); + }; }; }