Skip to content

Gitweb

services.gitweb.extraConfig

Verbatim configuration text appended to the generated gitweb.conf file.

Type: strings concatenated with "\n"

Default

""

Example

'' $feature{'highlight'}{'default'} = [1]; $feature{'ctags'}{'default'} = [1]; $feature{'avatar'}{'default'} = ['gravatar'];''

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/gitweb.nix

services.gitweb.gitwebTheme

Use an alternative theme for gitweb, strongly inspired by GitHub.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/gitweb.nix

services.gitweb.projectroot

Path to git projects (bare repositories) that should be served by gitweb. Must not end with a slash.

Type: path

Default

"/srv/git"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/gitweb.nix