From 63fa3e7c6209dacc00b465614acae303839b68ff Mon Sep 17 00:00:00 2001 From: Florian Jacob Date: Thu, 29 Jun 2017 15:32:47 +0200 Subject: [PATCH] nsswitch: fix typo specifying nss-resolve module this had the effect of not being able to load nss-resolve and falling back to dns module in all cases. --- nixos/modules/config/nsswitch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/nsswitch.nix b/nixos/modules/config/nsswitch.nix index d541fff140e..16a0bfb5693 100644 --- a/nixos/modules/config/nsswitch.nix +++ b/nixos/modules/config/nsswitch.nix @@ -15,7 +15,7 @@ let hostArray = [ "files" "mymachines" ] ++ optionals nssmdns [ "mdns_minimal [!UNAVAIL=return]" ] ++ optionals nsswins [ "wins" ] - ++ optionals resolved ["resolv [!UNAVAIL=return]"] + ++ optionals resolved ["resolve [!UNAVAIL=return]"] ++ [ "dns" ] ++ optionals nssmdns [ "mdns" ] ++ ["myhostname" ];