aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-16 14:58:42 -0300
committerEuAndreh <eu@euandre.org>2023-03-16 15:24:28 -0300
commit702706101b2d415b38554d30ad2a5e3fe5f0811c (patch)
treee322c73c163223cd94bcc4c3d8c6c25e50318460 /etc
parentetc/guix/system.scm: Inline "whoami" variable (diff)
downloaddotfiles-702706101b2d415b38554d30ad2a5e3fe5f0811c.tar.gz
dotfiles-702706101b2d415b38554d30ad2a5e3fe5f0811c.tar.xz
etc/guix/system.scm: Inline "toph" and "toph.tld" variables
Diffstat (limited to 'etc')
-rw-r--r--etc/guix/system.scm9
1 files changed, 3 insertions, 6 deletions
diff --git a/etc/guix/system.scm b/etc/guix/system.scm
index 38efc58..b6da311 100644
--- a/etc/guix/system.scm
+++ b/etc/guix/system.scm
@@ -110,9 +110,6 @@ Seiko Epson Color Ink Jet Printers.")
(list (ng-license:nonfree "https://epson.com/SoftwareLicenseAgreement")
license:lgpl2.1))))
-(define toph "toph")
-(define toph.tld "euandre.org")
-
(define master.cf #"-
# ============================================================================================================
@@ -225,7 +222,7 @@ Seiko Epson Color Ink Jet Printers.")
(service nix-service-type)
(simple-service 'add-wireguard-aliases hosts-service-type
(list
- (host "10.0.0.0" toph)
+ (host "10.0.0.0" "toph")
(host "10.0.0.1" host-name)))
(simple-service 'create-/var/lib/euandreh activation-service-type
#~(begin
@@ -249,8 +246,8 @@ Seiko Epson Color Ink Jet Printers.")
(peers
(list
(wireguard-peer
- (name toph)
- (endpoint (string-append toph.tld ":51820"))
+ (name "toph")
+ (endpoint (string-append "euandre.org" ":51820"))
(public-key "8jJgTIWrs7HNWlJXOwl8A0DKqIiAGa4hhh/hcXm4EUs=")
(allowed-ips '("10.0.0.0/32"))
(keep-alive 25))))))