about summary refs log tree commit diff
path: root/nixos/modules/services/misc
diff options
context:
space:
mode:
authorgnidorah <gnidorah@users.noreply.github.com>2018-04-17 20:06:44 +0300
committergnidorah <gnidorah@users.noreply.github.com>2018-04-17 20:07:01 +0300
commit9029ed933c69287c64a30d40b6b4f9f1ace7dd94 (patch)
tree3ce069646e63b7d4cee63874265337e41c6fb6a9 /nixos/modules/services/misc
parenta415a95e7c520b1f0f86c9729a54f5c8e7bd416c (diff)
downloadnixlib-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')
-rw-r--r--nixos/modules/services/misc/gitweb.nix8
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)