summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-11-08 04:30:33 +0100
committertv <tv@krebsco.de>2021-11-08 05:14:49 +0100
commit6940c3ac830eeaf6b55a2c5009a01438f070553f (patch)
treed358adfbdb624d5f5991fa59ec5d4a07187732a5 /krebs/3modules
parent13a1eb3fc5470919c519f6f2d3a6f87880759a11 (diff)
htgen: fix for manual
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/htgen.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/krebs/3modules/htgen.nix b/krebs/3modules/htgen.nix
index 063bccc68..517dad76f 100644
--- a/krebs/3modules/htgen.nix
+++ b/krebs/3modules/htgen.nix
@@ -13,7 +13,7 @@ let
default = {};
type = types.attrsOf (types.submodule ({ config, ... }: {
options = {
- enable = mkEnableOption "krebs.htgen-${config.name}";
+ enable = mkEnableOption "krebs.htgen-${config._module.args.name}";
name = mkOption {
type = types.username;
@@ -38,6 +38,10 @@ let
name = "htgen-${config.name}";
home = "/var/lib/htgen-${config.name}";
};
+ defaultText = {
+ name = "htgen-‹name›";
+ home = "/var/lib/htgen-‹name›";
+ };
};
};
}));