openvpn: fix type error
either use - optional cond "target" or - optionals cond ["target1" "target2"]
This commit is contained in:
parent
e776c0623d
commit
824b5b645a
@ -49,7 +49,7 @@ let
|
|||||||
in {
|
in {
|
||||||
description = "OpenVPN instance ‘${name}’";
|
description = "OpenVPN instance ‘${name}’";
|
||||||
|
|
||||||
wantedBy = optional cfg.autoStart [ "multi-user.target" ];
|
wantedBy = optional cfg.autoStart "multi-user.target";
|
||||||
after = [ "network-interfaces.target" ];
|
after = [ "network-interfaces.target" ];
|
||||||
|
|
||||||
path = [ pkgs.iptables pkgs.iproute pkgs.nettools ];
|
path = [ pkgs.iptables pkgs.iproute pkgs.nettools ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user