nixos/gitweb: add gitwebTheme option

This commit is contained in:
gnidorah
2018-04-17 20:07:01 +03:00
parent a415a95e7c
commit 9029ed933c
7 changed files with 65 additions and 19 deletions
+8
View File
@@ -32,6 +32,14 @@ in
'';
};
gitwebTheme = mkOption {
default = false;
type = types.bool;
description = ''
Use an alternative theme for gitweb, strongly inspired by GitHub.
'';
};
gitwebConfigFile = mkOption {
default = pkgs.writeText "gitweb.conf" ''
# path to git projects (<project>.git)