Style fixes

This commit is contained in:
Eelco Dolstra 2014-11-25 16:01:27 +01:00
parent 957eb52f6f
commit dd2dedafa3
1 changed files with 12 additions and 9 deletions

View File

@ -57,8 +57,9 @@ in
example = [ "/run/keys/ipsec-foo.secret" ]; example = [ "/run/keys/ipsec-foo.secret" ];
description = '' description = ''
A list of paths to IPSec secret files. These A list of paths to IPSec secret files. These
files will be included into the main ipsec.secrets file files will be included into the main ipsec.secrets file with
with the `include' directive. It is safer if these paths are absolute. the <literal>include</literal> directive. It is safer if these
paths are absolute.
''; '';
}; };
@ -67,8 +68,9 @@ in
default = {}; default = {};
example = { cachecrls = "yes"; strictcrlpolicy = "yes"; }; example = { cachecrls = "yes"; strictcrlpolicy = "yes"; };
description = '' description = ''
A set of options for the `config setup' section of A set of options for the config setup section of the
the `ipsec.conf' file. Defines general configuration parameters. <filename>ipsec.conf</filename> file. Defines general
configuration parameters.
''; '';
}; };
@ -89,8 +91,8 @@ in
}; };
}; };
description = '' description = ''
A set of connections and their options for the `conn xxx' A set of connections and their options for the conn xxx
sections of the `ipsec.conf' file. sections of the <filename>ipsec.conf</filename> file.
''; '';
}; };
@ -105,15 +107,16 @@ in
}; };
}; };
description = '' description = ''
A set of CAs (certification authorities) and their options A set of CAs (certification authorities) and their options for
for the `ca xxx' sections of the `ipsec.conf' file. the ca xxx sections of the <filename>ipsec.conf</filename>
file.
''; '';
}; };
}; };
config = with cfg; mkIf enable { config = with cfg; mkIf enable {
systemd.services.strongswan = { systemd.services.strongswan = {
description = "strongSwan IPSec service"; description = "strongSwan IPSec Service";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
path = with pkgs; [ kmod ]; # XXX Linux path = with pkgs; [ kmod ]; # XXX Linux
wants = [ "keys.target" ]; wants = [ "keys.target" ];