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

@ -117,11 +117,11 @@ in
type = types.attrsOf types.optionSet;
options = {
options = {
config = mkOption {
type = types.string;
description = ''
type = types.lines;
description = ''
Configuration of this OpenVPN instance. See
<citerefentry><refentrytitle>openvpn</refentrytitle><manvolnum>8</manvolnum></citerefentry>
for details.
@ -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.
'';