From 2b2f0067b838c3032458f3fafdc1f6190ed9176f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 7 Oct 2012 00:46:24 -0400 Subject: [PATCH] Add an /etc/hosts entry mapping localhost to ::1 --- modules/config/networking.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/config/networking.nix b/modules/config/networking.nix index f0aafc6b404..c6ea171bf3d 100644 --- a/modules/config/networking.nix +++ b/modules/config/networking.nix @@ -43,6 +43,7 @@ in source = pkgs.writeText "hosts" '' 127.0.0.1 localhost + ::1 localhost ${cfg.extraHosts} ''; target = "hosts";