htgen: fix for manual
This commit is contained in:
parent
13a1eb3fc5
commit
6940c3ac83
@ -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›";
|
||||
};
|
||||
};
|
||||
};
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user