summaryrefslogtreecommitdiffstats
path: root/nixos/modules/config/nsswitch.nix
diff options
context:
space:
mode:
authorFlorian Jacob <projects+git@florianjacob.de>2017-06-29 15:32:47 +0200
committerFlorian Jacob <projects+git@florianjacob.de>2017-06-30 02:40:49 +0200
commit63fa3e7c6209dacc00b465614acae303839b68ff (patch)
tree29458ab5c8c62bd5a1c4fef062d844c917e6585b /nixos/modules/config/nsswitch.nix
parent07dc20e436227cc54939a2365e9b19beaf99b234 (diff)
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.
Diffstat (limited to 'nixos/modules/config/nsswitch.nix')
-rw-r--r--nixos/modules/config/nsswitch.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/nsswitch.nix b/nixos/modules/config/nsswitch.nix
index d541fff140eb..16a0bfb5693d 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" ];