diff options
author | Timo Wilken | 2023-09-12 23:02:20 +0200 |
---|---|---|
committer | Timo Wilken | 2023-09-12 23:02:20 +0200 |
commit | 2aacaafa1f4dbb1e89a1a7b7ffaa6723bbcea77a (patch) | |
tree | da127479ac29e8d26d7fe8d3d9d2390e5b456cf2 /tw | |
parent | 67bdadcadc761f7608d21a53fabfa3edbeb760fe (diff) |
Dynamically set vin's IPv6 address
Diffstat (limited to 'tw')
-rw-r--r-- | tw/system/vin.scm | 6 |
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). |