3
0
Fork 0
forked from mirrors/nixpkgs

openvpn.nix: Improve types

This commit is contained in:
Eelco Dolstra 2013-10-28 00:08:42 +01:00
parent 5b8c4d2a7d
commit 2cc37c17d9

View file

@ -120,7 +120,7 @@ in
options = {
config = mkOption {
type = types.string;
type = types.lines;
description = ''
Configuration of this OpenVPN instance. See
<citerefentry><refentrytitle>openvpn</refentrytitle><manvolnum>8</manvolnum></citerefentry>
@ -130,7 +130,7 @@ in
up = mkOption {
default = "";
type = types.string;
type = types.lines;
description = ''
Shell commands executed when the instance is starting.
'';
@ -138,7 +138,7 @@ in
down = mkOption {
default = "";
type = types.string;
type = types.lines;
description = ''
Shell commands executed when the instance is shutting down.
'';