summary refs log tree commit diff
path: root/nixos/modules/services/networking/openvpn.nix
diff options
context:
space:
mode:
authorErik Arvstedt <erik.arvstedt@gmail.com>2018-07-20 10:30:49 +0200
committerErik Arvstedt <erik.arvstedt@gmail.com>2018-07-20 10:51:52 +0200
commitaecf24a0eb00bd61f192781b45dad0c0c0099a8d (patch)
tree6bbcb8b687db84c440e45026f619ad20ed421a00 /nixos/modules/services/networking/openvpn.nix
parent23aa0aa64c1868e89d67939992b61ce29252fafb (diff)
downloadnixpkgs-aecf24a0eb00bd61f192781b45dad0c0c0099a8d.tar
nixpkgs-aecf24a0eb00bd61f192781b45dad0c0c0099a8d.tar.gz
nixpkgs-aecf24a0eb00bd61f192781b45dad0c0c0099a8d.tar.bz2
nixpkgs-aecf24a0eb00bd61f192781b45dad0c0c0099a8d.tar.lz
nixpkgs-aecf24a0eb00bd61f192781b45dad0c0c0099a8d.tar.xz
nixpkgs-aecf24a0eb00bd61f192781b45dad0c0c0099a8d.tar.zst
nixpkgs-aecf24a0eb00bd61f192781b45dad0c0c0099a8d.zip
openvpn: document how to import an external config
Diffstat (limited to 'nixos/modules/services/networking/openvpn.nix')
-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 a418839d22b..b94b4026fd9 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>
             '';
           };