nixos/nginx: add gitweb sub-service
This commit is contained in:
@@ -7,6 +7,7 @@ let
|
||||
gitwebConfigFile = pkgs.writeText "gitweb.conf" ''
|
||||
# path to git projects (<project>.git)
|
||||
$projectroot = "${cfg.projectroot}";
|
||||
$highlight_bin = "${pkgs.highlight}/bin/highlight";
|
||||
${cfg.extraConfig}
|
||||
'';
|
||||
|
||||
@@ -38,6 +39,10 @@ in
|
||||
description = ''
|
||||
Verbatim configuration text appended to the generated gitweb.conf file.
|
||||
'';
|
||||
example = ''
|
||||
$feature{'highlight'}{'default'} = [1];
|
||||
$feature{'ctags'}{'default'} = [1];
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user