From faf10f8548ae136b1a5b170a54d479a9f1ad05b8 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 27 Nov 2022 09:21:54 -0300 Subject: src/infrastructure/guix/system.scm: Use custom /etc/hosts file: Include WireGuard addresses --- src/infrastructure/guix/system.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src') diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm index ff3769a..cf1dddb 100644 --- a/src/infrastructure/guix/system.scm +++ b/src/infrastructure/guix/system.scm @@ -1679,6 +1679,19 @@ (locale "fr_FR.UTF-8") (timezone "America/Sao_Paulo") (host-name tld) + (hosts-file + (plain-file + "hosts" + (format #f + #"- + 127.0.0.1 localhost ~a + ::1 localhost ~a + + 10.0.0.0 toph + 10.0.0.1 velhinho + "# + tld + tld))) (users (append (list -- cgit v1.2.3