a
This commit is contained in:
parent
7eda91e4df
commit
f38f819450
1 changed files with 2 additions and 1 deletions
|
|
@ -56,9 +56,10 @@ with lib;
|
|||
wantedBy = ["multi-user.target"];
|
||||
script = ''${pkgs.bash}/bin/bash /host${cfg.script}'';
|
||||
unitConfig.Type = "oneshot";
|
||||
requiredBy = [ "tailscaled.service" "openvpn-ovpn.service"];
|
||||
path = [ pkgs.dig pkgs.iproute2 ];
|
||||
};
|
||||
services.openvpn.servers.${name} = {
|
||||
services.openvpn.servers.ovpn = {
|
||||
config = ''
|
||||
config /host${cfg.config.${name}}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue