about summary refs log tree commit diff
path: root/nixos/modules/services/misc
diff options
context:
space:
mode:
authorWout Mertens <Wout.Mertens@gmail.com>2018-04-20 21:32:34 +0200
committerGitHub <noreply@github.com>2018-04-20 21:32:34 +0200
commit77a1993b46c13ffd68c03ee19fa3088d8071a011 (patch)
treeab38f02c1c779a9fe56b0d0510d65a9c75071a10 /nixos/modules/services/misc
parentfdee4484861f9db0acafab0a1b13f1d81adc8ea7 (diff)
parent9029ed933c69287c64a30d40b6b4f9f1ace7dd94 (diff)
downloadnixlib-77a1993b46c13ffd68c03ee19fa3088d8071a011.tar
nixlib-77a1993b46c13ffd68c03ee19fa3088d8071a011.tar.gz
nixlib-77a1993b46c13ffd68c03ee19fa3088d8071a011.tar.bz2
nixlib-77a1993b46c13ffd68c03ee19fa3088d8071a011.tar.lz
nixlib-77a1993b46c13ffd68c03ee19fa3088d8071a011.tar.xz
nixlib-77a1993b46c13ffd68c03ee19fa3088d8071a011.tar.zst
nixlib-77a1993b46c13ffd68c03ee19fa3088d8071a011.zip
Merge pull request #38918 from gnidorah/gitweb
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)