Hi,

nixos/modules/config/networking.nix generates /etc/hosts on the following  
form:

127.0.0.1 myhost myhost.mydomain

This makes both "hostname" and "hostname --fqdn" return "myhost".

I think nixos/modules/config/networking.nix should be changed, to generate  
/etc/hosts like this:

127.0.0.1 myhost.mydomain myhost

That would make "hostname" return "myhost" and "hostname --fqdn" return  
"myhost.mydomain", which makes things that depend on a fully qualified  
domain name a bit happier.

Could someone with commit rights make this change?


Best regards,
   Rickard Nilsson
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to