git.iko.soy/typeable/nixpkgs
on master help sign in
Style fixes
dd2dedaEelco Dolstra
nixos/modules/services/networking/strongswan.nix+12−9
@@ -57,8 +57,9 @@ in
57 example = [ "/run/keys/ipsec-foo.secret" ];
57 example = [ "/run/keys/ipsec-foo.secret" ];
58 description = ''
58 description = ''
59 A list of paths to IPSec secret files. These
59 A list of paths to IPSec secret files. These
60− files will be included into the main ipsec.secrets file
60+ files will be included into the main ipsec.secrets file with
61− with the `include' directive. It is safer if these paths are absolute.
61+ the <literal>include</literal> directive. It is safer if these
62+ paths are absolute.
62 '';
63 '';
63 };
64 };
64
65
@@ -67,8 +68,9 @@ in
67 default = {};
68 default = {};
68 example = { cachecrls = "yes"; strictcrlpolicy = "yes"; };
69 example = { cachecrls = "yes"; strictcrlpolicy = "yes"; };
69 description = ''
70 description = ''
70− A set of options for the `config setup' section of
71+ A set of options for the ‘config setup’ section of the
72+ <filename>ipsec.conf</filename> file. Defines general
71− the `ipsec.conf' file. Defines general configuration parameters.
73+ configuration parameters.
72 '';
74 '';
73 };
75 };
74
76
@@ -89,8 +91,8 @@ in
89 };
91 };
90 };
92 };
91 description = ''
93 description = ''
92− A set of connections and their options for the `conn xxx'
94+ A set of connections and their options for the ‘conn xxx’
93− sections of the `ipsec.conf' file.
95+ sections of the <filename>ipsec.conf</filename> file.
94 '';
96 '';
95 };
97 };
96
98
@@ -105,15 +107,16 @@ in
105 };
107 };
106 };
108 };
107 description = ''
109 description = ''
108− A set of CAs (certification authorities) and their options
110+ A set of CAs (certification authorities) and their options for
109− for the `ca xxx' sections of the `ipsec.conf' file.
111+ the ‘ca xxx’ sections of the <filename>ipsec.conf</filename>
112+ file.
110 '';
113 '';
111 };
114 };
112 };
115 };
113
116
114 config = with cfg; mkIf enable {
117 config = with cfg; mkIf enable {
115 systemd.services.strongswan = {
118 systemd.services.strongswan = {
116− description = "strongSwan IPSec service";
119+ description = "strongSwan IPSec Service";
117 wantedBy = [ "multi-user.target" ];
120 wantedBy = [ "multi-user.target" ];
118 path = with pkgs; [ kmod ]; # XXX Linux
121 path = with pkgs; [ kmod ]; # XXX Linux
119 wants = [ "keys.target" ];
122 wants = [ "keys.target" ];