aboutsummaryrefslogtreecommitdiff
path: root/tw/system/vin.scm
diff options
context:
space:
mode:
authorTimo Wilken2023-09-12 23:02:20 +0200
committerTimo Wilken2023-09-12 23:02:20 +0200
commit2aacaafa1f4dbb1e89a1a7b7ffaa6723bbcea77a (patch)
treeda127479ac29e8d26d7fe8d3d9d2390e5b456cf2 /tw/system/vin.scm
parent67bdadcadc761f7608d21a53fabfa3edbeb760fe (diff)
Dynamically set vin's IPv6 address
Diffstat (limited to 'tw/system/vin.scm')
-rw-r--r--tw/system/vin.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/tw/system/vin.scm b/tw/system/vin.scm
index 6d84e603..6a773a58 100644
--- a/tw/system/vin.scm
+++ b/tw/system/vin.scm
@@ -14,6 +14,7 @@
#:use-module (guix gexp)
#:use-module (tw channels)
#:use-module (tw packages finance)
+ #:use-module (tw services dns)
#:use-module (tw services grafana)
#:use-module (tw services restic)
#:use-module (tw system))
@@ -171,6 +172,11 @@
(operating-system-expression
#~(@ (tw system vin) %vin-system))))
+ (service mythic-dynamic-dns-service-type
+ (mythic-dynamic-dns-configuration
+ (host-name host-name)
+ (ipv4? #f))) ; have a static IPv4 address, so only update IPv6
+
(server-base-services host-name)))
;; The list of user accounts ('root' is implicit).