From d06c45ec862492a87118ea3f480de7f4f36ce660 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Tue, 20 Dec 2011 12:35:12 +0000 Subject: [PATCH] Let hostname --fqdn find proper hostname svn path=/nixos/trunk/; revision=30976 --- modules/config/networking.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/networking.nix b/modules/config/networking.nix index 8343912d8303..4349b52347a4 100644 --- a/modules/config/networking.nix +++ b/modules/config/networking.nix @@ -51,7 +51,7 @@ in '' ${cfg.extraHosts} ${optionalString (cfg.hostName != "") - "127.0.0.1 ${cfg.hostName} ${hostnameWithDomain}"} + "127.0.0.1 ${hostnameWithDomain} ${cfg.hostName}"} 127.0.0.1 localhost ${localhostWithDomain} ''; target = "hosts";