From cbf3c81b32cc5c80b3af810f10594bac1baf5e72 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Fri, 7 Apr 2023 16:01:21 +0200 Subject: [PATCH] dumpyourvms: add OpenVPN config for CaT --- hosts/dumpyourvms/dumpyourvms.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/dumpyourvms/dumpyourvms.nix b/hosts/dumpyourvms/dumpyourvms.nix index 6aed4752..4bdb70d0 100644 --- a/hosts/dumpyourvms/dumpyourvms.nix +++ b/hosts/dumpyourvms/dumpyourvms.nix @@ -70,6 +70,9 @@ in { services.mozillavpn.enable = true; networking = import ./networking.nix; services.tailscale.enable = true; + services.openvpn.servers = { + catVPN = {config = ''config /home/teutat3s/.local/share/openvpn/catVPN.conf '';}; + }; security.pki.certificateFiles = [./consul-agent-ca.pem]; @@ -150,7 +153,6 @@ in { ''SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{power/wakeup}="disabled"''; services.printing.enable = true; - services.printing.drivers = [pkgs.brlaser]; home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] { # Custom device sway configs