diff options
author | Timo Wilken | 2023-02-14 23:26:40 +0100 |
---|---|---|
committer | Timo Wilken | 2023-02-14 23:26:40 +0100 |
commit | 67804c7be85d65ba49abab281e37243306f6fa8c (patch) | |
tree | aff1c4bec78a44bbdf45c0b4a82aa93e839f8b0a /tw/system/lap.scm | |
parent | 2073a3427e6d61ff5c8393a37b0e8934f1352426 (diff) |
Use hosts-service-type instead of deprecated hosts-file
Also, take the opportunity to make a proper service-type for my
WireGuard setup.
Diffstat (limited to 'tw/system/lap.scm')
-rw-r--r-- | tw/system/lap.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tw/system/lap.scm b/tw/system/lap.scm index d3227dc9..04a93953 100644 --- a/tw/system/lap.scm +++ b/tw/system/lap.scm @@ -138,7 +138,6 @@ support extra features (acr, pmu, gr).") (locale-definition (name "en_US.utf8") (source "en_US")) (locale-definition (name "fr_FR.utf8") (source "fr_FR")))) - (hosts-file %wireguard-etc-hosts) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss) @@ -293,7 +292,9 @@ support extra features (acr, pmu, gr).") (bluetooth-service) - (wireguard-service host-name) + (service tw-wireguard-service-type + (tw-wireguard-configuration + (this-host host-name))) (service docker-service-type (docker-configuration)) |