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} = {