diff options
author | EuAndreh <eu@euandre.org> | 2022-11-22 15:55:51 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-11-22 15:55:51 -0300 |
commit | 02646fcc86d285ad81a1b5db2b56d89cd050c6f6 (patch) | |
tree | 20fd4570d7fd3f84ad44bafbaeb9d998cb4b4f83 | |
parent | etc/ssh/known_hosts: Add wireguard public key alias (diff) | |
download | dotfiles-02646fcc86d285ad81a1b5db2b56d89cd050c6f6.tar.gz dotfiles-02646fcc86d285ad81a1b5db2b56d89cd050c6f6.tar.xz |
etc/guix/system.scm: Split "toph" from "toph.tld" variables
-rw-r--r-- | etc/guix/system.scm | 12 |
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)))))) |