nixos/gollum: add option 'user-icons'
This commit is contained in:
parent
fa7cae1bcc
commit
8e7b82be49
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,12 @@ in
|
|||
description = "Enable uploads of external files";
|
||||
};
|
||||
|
||||
user-icons = mkOption {
|
||||
type = types.nullOr (types.enum [ "gravatar" "identicon" ]);
|
||||
default = null;
|
||||
description = "User icons for history view";
|
||||
};
|
||||
|
||||
emoji = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
|
@ -111,6 +117,7 @@ in
|
|||
${optionalString cfg.emoji "--emoji"} \
|
||||
${optionalString cfg.h1-title "--h1-title"} \
|
||||
${optionalString (cfg.allowUploads != null) "--allow-uploads ${cfg.allowUploads}"} \
|
||||
${optionalString (cfg.user-icons != null) "--user-icons ${cfg.user-icons}"} \
|
||||
${cfg.stateDir}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue