From 7e3d98c3dce3741999d900dc6257bfb3d7dd11e4 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Thu, 29 Oct 2020 08:39:20 +0100 Subject: [PATCH] Set ovpn servers --- roles/subroles/internet.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/roles/subroles/internet.nix b/roles/subroles/internet.nix index 06b92cc..3f21fba 100644 --- a/roles/subroles/internet.nix +++ b/roles/subroles/internet.nix @@ -10,4 +10,19 @@ element-desktop tdesktop ]; + + services.openvpn.servers = { + NL12 = { + config = '' config /root/openvpn/NL12.ovpn.to.conf ''; + autoStart = false; + }; + NL11 = { + config = '' config /root/openvpn/NL11.ovpn.to.conf ''; + autoStart = false; + }; + NL10 = { + config = '' config /root/openvpn/NL10.ovpn.to.conf ''; + autoStart = false; + }; + }; }