krebs.retiolum.hosts*: bump description

This commit is contained in:
tv 2016-02-11 23:49:45 +01:00
parent 6cbe21aac7
commit 8c87356aee

View File

@ -58,9 +58,9 @@ let
default = default =
filterAttrs (_: h: hasAttr cfg.netname h.nets) config.krebs.hosts; filterAttrs (_: h: hasAttr cfg.netname h.nets) config.krebs.hosts;
description = '' description = ''
Hosts which should be part of the tinc configuration. Hosts to generate <literal>config.krebs.retiolum.hostsPackage</literal>.
Note that these hosts must have a correspondingly named network Note that these hosts must have a network named
configured, see <literal>config.krebs.retiolum.netname</literal>. <literal>config.krebs.retiolum.netname</literal>.
''; '';
}; };
@ -77,6 +77,20 @@ let
'') cfg.hosts)} '') cfg.hosts)}
''; '';
}; };
description = ''
Package of tinc host configuration files. By default, a package will
be generated from <literal>config.krebs.retiolum.hosts</literal>. This
option's main purpose is to expose the generated hosts package to other
modules, like <literal>config.krebs.tinc_graphs</literal>. But it can
also be used to provide a custom hosts directory.
'';
example = literalExample ''
(pkgs.stdenv.mkDerivation {
name = "my-tinc-hosts";
src = /home/tv/my-tinc-hosts;
installPhase = "cp -R . $out";
})
'';
}; };
iproutePackage = mkOption { iproutePackage = mkOption {