Merge pull request #195418 from Baitinq/description_in_gitolite_module
This commit is contained in:
commit
e7625f9130
|
@ -101,6 +101,14 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
description = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "Gitolite user";
|
||||||
|
description = lib.mdDoc ''
|
||||||
|
Gitolite user account's description.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
group = mkOption {
|
group = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "gitolite";
|
default = "gitolite";
|
||||||
|
@ -145,7 +153,7 @@ in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
users.users.${cfg.user} = {
|
users.users.${cfg.user} = {
|
||||||
description = "Gitolite user";
|
description = cfg.description;
|
||||||
home = cfg.dataDir;
|
home = cfg.dataDir;
|
||||||
uid = config.ids.uids.gitolite;
|
uid = config.ids.uids.gitolite;
|
||||||
group = cfg.group;
|
group = cfg.group;
|
||||||
|
|
Loading…
Reference in a new issue