aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/guix/system.scm12
1 files 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))))))