On Tue, Nov 13, 2018 at 04:16:23PM +0100, zna...@tutanota.com wrote:
> Hello, Guix Help! I've added a line in /etc/hosts
> 5.5.5.5 site.com
> 
> But site.com points on its usual ip. Restart wpa_supplicant and restart pc 
> did not help.
> How to work with hosts on GuixSD?

You can specify your hosts file in your operating system configuration
file ('config.scm'):

https://www.gnu.org/software/guix/manual/en/html_node/operating_002dsystem-Reference.html#index-hosts-file

You can maintain your hosts file "by hand" in, for example,
/etc/my-hosts and refer to it from config.scm like this (untested):

------
  (hosts-file (local-file "/etc/my-hosts"))
------

Attachment: signature.asc
Description: PGP signature

Reply via email to