Renamed to .guix.metznet.ca, added qcow2 target back to makefile, and made vpn server
parent
99adf5a794
commit
42eede695c
@ -0,0 +1,21 @@
|
|||||||
|
(define-module (machines vpn.metznet.ca)
|
||||||
|
#:use-module (gnu system)
|
||||||
|
#:use-module (gnu services)
|
||||||
|
#:use-module (gnu services certbot)
|
||||||
|
#:use-module (gnu services vpn)
|
||||||
|
#:use-module (system base-system))
|
||||||
|
|
||||||
|
(operating-system
|
||||||
|
(inherit %metznet-base-server-system)
|
||||||
|
(host-name "vpn.guix.metznet.ca")
|
||||||
|
(services
|
||||||
|
(append (list (service openvpn-server-service-type
|
||||||
|
(openvpn-server-configuration
|
||||||
|
(server "10.0.80.0 255.255.255.0")))
|
||||||
|
(service certbot-service-type
|
||||||
|
(certbot-configuration (email "admin@metznet.ca")
|
||||||
|
(certificates (list (certificate-configuration
|
||||||
|
(domains '
|
||||||
|
("vpn.guix.metznet.ca"))))))))
|
||||||
|
(modify-services %metznet-server-services (delete openvpn-client-service-type)))))
|
||||||
|
|
Loading…
Reference in New Issue