diff options
author | gnidorah <gnidorah@users.noreply.github.com> | 2018-04-17 20:06:44 +0300 |
---|---|---|
committer | gnidorah <gnidorah@users.noreply.github.com> | 2018-04-17 20:07:01 +0300 |
commit | 9029ed933c69287c64a30d40b6b4f9f1ace7dd94 (patch) | |
tree | 3ce069646e63b7d4cee63874265337e41c6fb6a9 /nixos/modules/services/misc/gitweb.nix | |
parent | a415a95e7c520b1f0f86c9729a54f5c8e7bd416c (diff) | |
download | nixlib-9029ed933c69287c64a30d40b6b4f9f1ace7dd94.tar nixlib-9029ed933c69287c64a30d40b6b4f9f1ace7dd94.tar.gz nixlib-9029ed933c69287c64a30d40b6b4f9f1ace7dd94.tar.bz2 nixlib-9029ed933c69287c64a30d40b6b4f9f1ace7dd94.tar.lz nixlib-9029ed933c69287c64a30d40b6b4f9f1ace7dd94.tar.xz nixlib-9029ed933c69287c64a30d40b6b4f9f1ace7dd94.tar.zst nixlib-9029ed933c69287c64a30d40b6b4f9f1ace7dd94.zip |
nixos/gitweb: add gitwebTheme option
Diffstat (limited to 'nixos/modules/services/misc/gitweb.nix')
-rw-r--r-- | nixos/modules/services/misc/gitweb.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/gitweb.nix b/nixos/modules/services/misc/gitweb.nix index b0e34a690ca5..ca21366b7796 100644 --- a/nixos/modules/services/misc/gitweb.nix +++ b/nixos/modules/services/misc/gitweb.nix @@ -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) |