diff options
author | makefu <github@syntax-fehler.de> | 2021-11-24 08:27:30 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-11-24 08:27:30 +0100 |
commit | d2776a87a51bbc63957ee2e590f18a7425a87987 (patch) | |
tree | 7052993633e46defc64737aff54d0272a8ce75c1 /krebs/3modules/htgen.nix | |
parent | 60b7a7bded68ebd3a5d76b6e0374e189f3a64300 (diff) | |
parent | 4c7abec39771cbd47dc091c674a0429f5c757ebc (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'krebs/3modules/htgen.nix')
-rw-r--r-- | krebs/3modules/htgen.nix | 6 |
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›"; + }; }; }; })); |