From f309f10b43923bfb92abaa1f68190639270fbc5e Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sat, 2 Dec 2023 17:32:38 -0700 Subject: [PATCH] export metznet-vpn-service-type --- metznet/machines/vpn.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metznet/machines/vpn.scm b/metznet/machines/vpn.scm index fd0dfc9..1f2e5e0 100644 --- a/metznet/machines/vpn.scm +++ b/metznet/machines/vpn.scm @@ -8,7 +8,7 @@ #:use-module (gnu services vpn) #:use-module (metznet system base-system) - #:export (vpn.metznet.ca vpn-services)) + #:export (vpn.metznet.ca vpn-services metznet-vpn-service-type)) (define (metznet-vpn-etc dh-pem) `(("openvpn/dh2048.pem" ,dh-pem))) @@ -16,7 +16,7 @@ (define new-dh-pem (computed-file "dh2048.pem" (with-imported-modules '((guix build utils)) #~(begin (use-modules (guix build utils)) (invoke #$(file-append openssl "/bin/openssl") "dhparam" "-out" #$output "2048"))))) -(define metznet-vpn-service-type +(define-public metznet-vpn-service-type (service-type (name 'metznet-vpn) (description "") (extensions (list (service-extension etc-service-type