summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--system/modules/nextdns.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/modules/nextdns.nix b/system/modules/nextdns.nix
index 7db03b1b..830215e6 100644
--- a/system/modules/nextdns.nix
+++ b/system/modules/nextdns.nix
@@ -89,8 +89,8 @@ in
     };
     services = {
       stubby = mkIf (cfg.resolver == "stubby") stubbyConfig;
-    } // (if !stdenv.isDarwin then {
+    } // mkIf (!stdenv.isDarwin) {
       kresd = mkIf (cfg.resolver == "kresd") kresdConfig;
-    } else {});
+    };
   };
 }