diff options
author | Alan Pearce | 2019-11-29 20:40:22 +0100 |
---|---|---|
committer | Alan Pearce | 2019-11-29 20:40:22 +0100 |
commit | fba586fa51e7d02860a39caf28012825ba29b761 (patch) | |
tree | 7c64a6fc8bc6d8de27467b448ac40893d6d79bee /system/modules | |
parent | 9ca2beec31c33341e946fdc35ffd4328d8fa2f0c (diff) | |
download | nixfiles-fba586fa51e7d02860a39caf28012825ba29b761.tar.lz nixfiles-fba586fa51e7d02860a39caf28012825ba29b761.tar.zst nixfiles-fba586fa51e7d02860a39caf28012825ba29b761.zip |
nextdns: fix infinite recursion on NixOS
Diffstat (limited to 'system/modules')
-rw-r--r-- | system/modules/nextdns.nix | 4 |
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 {}); + }; }; } |