about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSarah Brofeldt <sbrofeldt@gmail.com>2018-07-20 11:04:16 +0200
committerGitHub <noreply@github.com>2018-07-20 11:04:16 +0200
commit8c98c7f6f706e91d96b472f6d9cbc198064ebd8b (patch)
tree174ec2a1165ce5de1bb3a7d0e81c47df67b1e8c5
parent65d209811a8886485c67e4b842f3a1e29b521da1 (diff)
parentaecf24a0eb00bd61f192781b45dad0c0c0099a8d (diff)
downloadnixlib-8c98c7f6f706e91d96b472f6d9cbc198064ebd8b.tar
nixlib-8c98c7f6f706e91d96b472f6d9cbc198064ebd8b.tar.gz
nixlib-8c98c7f6f706e91d96b472f6d9cbc198064ebd8b.tar.bz2
nixlib-8c98c7f6f706e91d96b472f6d9cbc198064ebd8b.tar.lz
nixlib-8c98c7f6f706e91d96b472f6d9cbc198064ebd8b.tar.xz
nixlib-8c98c7f6f706e91d96b472f6d9cbc198064ebd8b.tar.zst
nixlib-8c98c7f6f706e91d96b472f6d9cbc198064ebd8b.zip
Merge pull request #43676 from erikarvstedt/openvpn-config-file
nixos/openvpn: document how to import an external config
-rw-r--r--nixos/modules/services/networking/openvpn.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/openvpn.nix b/nixos/modules/services/networking/openvpn.nix
index a418839d22b8..b94b4026fd91 100644
--- a/nixos/modules/services/networking/openvpn.nix
+++ b/nixos/modules/services/networking/openvpn.nix
@@ -131,6 +131,9 @@ in
               Configuration of this OpenVPN instance.  See
               <citerefentry><refentrytitle>openvpn</refentrytitle><manvolnum>8</manvolnum></citerefentry>
               for details.
+
+              To import an external config file, use the following definition:
+              <literal>config = "config /path/to/config.ovpn"</literal>
             '';
           };