aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/guix/system.scm17
1 files changed, 4 insertions, 13 deletions
diff --git a/etc/guix/system.scm b/etc/guix/system.scm
index 3b91654..0bcab17 100644
--- a/etc/guix/system.scm
+++ b/etc/guix/system.scm
@@ -395,19 +395,6 @@ Seiko Epson Color Ink Jet Printers.")
(keyboard-layout
(keyboard-layout "br" #:options '("caps:swapescape" "esperanto:qwerty")))
(host-name "velhinho")
- (hosts-file
- (plain-file
- "hosts"
- (format #f
- #"-
- 127.0.0.1 localhost
- ::1 localhost
-
- 10.0.0.0 ~a
- 10.0.0.1 ~a
- "#
- toph
- host-name)))
(users
(append
(list
@@ -437,6 +424,10 @@ Seiko Epson Color Ink Jet Printers.")
(service docker-service-type)
(service libvirt-service-type)
(service virtlog-service-type)
+ (simple-service 'add-wireguard-aliases hosts-service-type
+ (list
+ (host "10.0.0.0" toph)
+ (host "10.0.0.1" host-name)))
(simple-service 'create-/var/lib/euandreh activation-service-type
#~(begin
(use-modules (guix build utils))