From 77e5045896664cd48fa50764233826a2cf8deb74 Mon Sep 17 00:00:00 2001 From: Lucy Hochkamp Date: Tue, 2 Apr 2024 17:56:35 +0200 Subject: [PATCH] aaa --- nixos-modules/services/tailscale-openvpn.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos-modules/services/tailscale-openvpn.nix b/nixos-modules/services/tailscale-openvpn.nix index 4207630c..f28c647e 100644 --- a/nixos-modules/services/tailscale-openvpn.nix +++ b/nixos-modules/services/tailscale-openvpn.nix @@ -54,6 +54,7 @@ with lib; systemd.services.ovpnScript = { wantedBy = ["multi-user.target"]; script = ''${pkgs.bash}/bin/bash /host${cfg.script}''; + unitConfig.Type = "oneshot"; path = [ pkgs.dig ]; }; services.openvpn.servers.${name} = {