summary refs log tree commit diff
path: root/nixos/modules/services/networking/strongswan.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-25 16:01:27 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-25 16:01:27 +0100
commitdd2dedafa337888bd85b3df6bbcfb26ab7398c56 (patch)
treea991c47d89d02694bb90d499b726bc26d25cd493 /nixos/modules/services/networking/strongswan.nix
parent957eb52f6f4a467910088e8ef3434beca49ce8fc (diff)
downloadnixpkgs-dd2dedafa337888bd85b3df6bbcfb26ab7398c56.tar
nixpkgs-dd2dedafa337888bd85b3df6bbcfb26ab7398c56.tar.gz
nixpkgs-dd2dedafa337888bd85b3df6bbcfb26ab7398c56.tar.bz2
nixpkgs-dd2dedafa337888bd85b3df6bbcfb26ab7398c56.tar.lz
nixpkgs-dd2dedafa337888bd85b3df6bbcfb26ab7398c56.tar.xz
nixpkgs-dd2dedafa337888bd85b3df6bbcfb26ab7398c56.tar.zst
nixpkgs-dd2dedafa337888bd85b3df6bbcfb26ab7398c56.zip
Style fixes
Diffstat (limited to 'nixos/modules/services/networking/strongswan.nix')
-rw-r--r--nixos/modules/services/networking/strongswan.nix21
1 files changed, 12 insertions, 9 deletions
diff --git a/nixos/modules/services/networking/strongswan.nix b/nixos/modules/services/networking/strongswan.nix
index 4ceb8254b1e..19ad635d07e 100644
--- a/nixos/modules/services/networking/strongswan.nix
+++ b/nixos/modules/services/networking/strongswan.nix
@@ -57,8 +57,9 @@ in
       example = [ "/run/keys/ipsec-foo.secret" ];
       description = ''
         A list of paths to IPSec secret files. These
-        files will be included into the main ipsec.secrets file
-        with the `include' directive. It is safer if these paths are absolute.
+        files will be included into the main ipsec.secrets file with
+        the <literal>include</literal> directive. It is safer if these
+        paths are absolute.
       '';
     };
 
@@ -67,8 +68,9 @@ in
       default = {};
       example = { cachecrls = "yes"; strictcrlpolicy = "yes"; };
       description = ''
-        A set of options for the `config setup' section of
-        the `ipsec.conf' file. Defines general configuration parameters.
+        A set of options for the ‘config setup’ section of the
+        <filename>ipsec.conf</filename> file. Defines general
+        configuration parameters.
       '';
     };
 
@@ -89,8 +91,8 @@ in
         };
       };
       description = ''
-        A set of connections and their options for the `conn xxx'
-        sections of the `ipsec.conf' file.
+        A set of connections and their options for the ‘conn xxx’
+        sections of the <filename>ipsec.conf</filename> file.
       '';
     };
 
@@ -105,15 +107,16 @@ in
         };
       };
       description = ''
-        A set of CAs (certification authorities) and their options
-        for the `ca xxx' sections of the `ipsec.conf' file.
+        A set of CAs (certification authorities) and their options for
+        the ‘ca xxx’ sections of the <filename>ipsec.conf</filename>
+        file.
       '';
     };
   };
 
   config = with cfg; mkIf enable {
     systemd.services.strongswan = {
-      description = "strongSwan IPSec service";
+      description = "strongSwan IPSec Service";
       wantedBy = [ "multi-user.target" ];
       path = with pkgs; [ kmod ]; # XXX Linux
       wants = [ "keys.target" ];