diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-28 00:08:42 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-28 22:45:55 +0100 |
commit | 2cc37c17d9313a22c5f4f2acbdd5b665c53f9f3c (patch) | |
tree | 8eb46a2a57797d879374098fa2a9237814d0d192 /nixos/modules/services/networking/openvpn.nix | |
parent | 5b8c4d2a7d3fc59636e44c69f7bddd5ffd9b0bed (diff) | |
download | nixpkgs-2cc37c17d9313a22c5f4f2acbdd5b665c53f9f3c.tar nixpkgs-2cc37c17d9313a22c5f4f2acbdd5b665c53f9f3c.tar.gz nixpkgs-2cc37c17d9313a22c5f4f2acbdd5b665c53f9f3c.tar.bz2 nixpkgs-2cc37c17d9313a22c5f4f2acbdd5b665c53f9f3c.tar.lz nixpkgs-2cc37c17d9313a22c5f4f2acbdd5b665c53f9f3c.tar.xz nixpkgs-2cc37c17d9313a22c5f4f2acbdd5b665c53f9f3c.tar.zst nixpkgs-2cc37c17d9313a22c5f4f2acbdd5b665c53f9f3c.zip |
openvpn.nix: Improve types
Diffstat (limited to 'nixos/modules/services/networking/openvpn.nix')
-rw-r--r-- | nixos/modules/services/networking/openvpn.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/services/networking/openvpn.nix b/nixos/modules/services/networking/openvpn.nix index 1e862591406..8cc19506e21 100644 --- a/nixos/modules/services/networking/openvpn.nix +++ b/nixos/modules/services/networking/openvpn.nix @@ -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. ''; |