all repos — nixfiles @ fba586fa51e7d02860a39caf28012825ba29b761

System and user configuration, managed by nix and home-manager

nextdns: fix infinite recursion on NixOS

Alan Pearce
commit

fba586fa51e7d02860a39caf28012825ba29b761

parent

9ca2beec31c33341e946fdc35ffd4328d8fa2f0c

1 file changed, 2 insertions(+), 2 deletions(-)

jump to
M system/modules/nextdns.nixsystem/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 {}); + }; }; }