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 {
|
||||
description = "OpenVPN instance ‘${name}’";
|
||||
|
||||
wantedBy = optional cfg.autoStart [ "multi-user.target" ];
|
||||
wantedBy = optional cfg.autoStart "multi-user.target";
|
||||
after = [ "network-interfaces.target" ];
|
||||
|
||||
path = [ pkgs.iptables pkgs.iproute pkgs.nettools ];
|
||||
|
Loading…
Reference in New Issue
Block a user