mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
openvpn.nix: Improve types
This commit is contained in:
parent
5b8c4d2a7d
commit
2cc37c17d9
|
@ -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.
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue