[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /etc/hosts
From: |
Leo Famulari |
Subject: |
Re: /etc/hosts |
Date: |
Tue, 13 Nov 2018 11:37:49 -0500 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Tue, Nov 13, 2018 at 04:16:23PM +0100, address@hidden 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"))
------
signature.asc
Description: PGP signature