From 027bcf9b43546063e62578858eee50ac278334f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 19 Jul 2022 13:33:48 +0200 Subject: nixos: rework openvpn --- nixos/machine/binky.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'nixos/machine/binky.nix') diff --git a/nixos/machine/binky.nix b/nixos/machine/binky.nix index c7e319a..7be8017 100644 --- a/nixos/machine/binky.nix +++ b/nixos/machine/binky.nix @@ -13,6 +13,10 @@ with lib; wifiClient = true; develop = true; gaming = true; + openvpn = { + oldpersonal = true; + elektroline = true; + }; }; boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usb_storage" "sd_mod"]; @@ -57,13 +61,6 @@ with lib; dataDir = "/home/cynerd"; configDir = "/home/cynerd/.config/syncthing"; }; - services.openvpn.servers.oldpersonal = { - config = "config /run/secrets/old.ovpn"; - }; - services.openvpn.servers.elektroline = { - config = "config /run/secrets/elektroline.ovpn"; - }; - }; -- cgit v1.2.3