From 8c87356aee561fd8bc50dc2b7029ab30118f0d2c Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 11 Feb 2016 23:49:45 +0100 Subject: krebs.retiolum.hosts*: bump description --- krebs/3modules/retiolum.nix | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'krebs/3modules') diff --git a/krebs/3modules/retiolum.nix b/krebs/3modules/retiolum.nix index 3ebb5e23..40769527 100644 --- a/krebs/3modules/retiolum.nix +++ b/krebs/3modules/retiolum.nix @@ -58,9 +58,9 @@ let default = filterAttrs (_: h: hasAttr cfg.netname h.nets) config.krebs.hosts; description = '' - Hosts which should be part of the tinc configuration. - Note that these hosts must have a correspondingly named network - configured, see config.krebs.retiolum.netname. + Hosts to generate config.krebs.retiolum.hostsPackage. + Note that these hosts must have a network named + config.krebs.retiolum.netname. ''; }; @@ -77,6 +77,20 @@ let '') cfg.hosts)} ''; }; + description = '' + Package of tinc host configuration files. By default, a package will + be generated from config.krebs.retiolum.hosts. This + option's main purpose is to expose the generated hosts package to other + modules, like config.krebs.tinc_graphs. 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 { -- cgit v1.2.3