From 02646fcc86d285ad81a1b5db2b56d89cd050c6f6 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 22 Nov 2022 15:55:51 -0300 Subject: etc/guix/system.scm: Split "toph" from "toph.tld" variables --- etc/guix/system.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/etc/guix/system.scm b/etc/guix/system.scm index 08f0fd8..ce8db71 100644 --- a/etc/guix/system.scm +++ b/etc/guix/system.scm @@ -27,7 +27,9 @@ (heredoc:enable-syntax) (define whoami "andreh") -(define toph "arrobaponto.org") +(define toph "toph") +(define toph.tld "arrobaponto.org") + (operating-system @@ -54,10 +56,12 @@ 127.0.0.1 localhost ~a ::1 localhost ~a - 10.0.2.1 kuvira.wg - 10.0.2.2 velhinho.wg + 10.0.0.0 ~a.wg + 10.0.0.1 ~a.wg "# host-name + host-name + toph host-name))) (users (append @@ -102,7 +106,7 @@ (list (wireguard-peer (name "toph") - (endpoint (string-append toph ":51820")) + (endpoint (string-append toph.tld ":51820")) (public-key "8jJgTIWrs7HNWlJXOwl8A0DKqIiAGa4hhh/hcXm4EUs=") (allowed-ips '("10.0.0.0/24")) (keep-alive 25)))))) -- cgit v1.2.3