mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
openvpn: fix type error
either use - optional cond "target" or - optionals cond ["target1" "target2"]
This commit is contained in:
parent
e776c0623d
commit
824b5b645a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue