about summary refs log tree commit diff
path: root/machines/profpatsch/haku.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/profpatsch/haku.nix')
-rw-r--r--machines/profpatsch/haku.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/machines/profpatsch/haku.nix b/machines/profpatsch/haku.nix
index b05ce485..20ed1cf4 100644
--- a/machines/profpatsch/haku.nix
+++ b/machines/profpatsch/haku.nix
@@ -95,6 +95,14 @@ in
       package = myPkgs.searx;
     };
 
+    services.openvpn.servers.hakuserver = {
+      config = ''
+        dev tun
+        ifconfig 10.20.30.40 10.20.30.41
+        secret /root/static-vpn.key
+      '';
+    };
+
     networking = {
       hostName = "haku";
       firewall = {