1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/modules
Bjørn Forsman b1f82e428a lighttpd: add cgit sub-service
(cgit is "a hyperfast web frontend for git repositories written in C")

cgit is enabled like this (assuming lighttpd is already enabled):

  services.lighttpd.cgit.enable = true;

and configured verbatim like this (contents of the cgitrc file):

  services.lighttpd.cgit.configText = ''
    cache-size=1000
    scan-path=/srv/git
  '';

cgit will be available from this URL: http://yourserver/cgit

In lighttpd, I've ensured that the cache dir for cgit is created if cgit
is enabled.
2013-06-02 18:41:18 +02:00
..
config Add chrony service 2013-05-23 02:07:49 +00:00
hardware Adding support of the Intel 2230 wireless card to nixos 2013-01-30 20:51:49 +01:00
installer Fix pxe network boot 2013-05-11 19:42:19 +00:00
misc Add chrony service 2013-05-23 02:07:49 +00:00
profiles Adding support of the Intel 2230 wireless card to nixos 2013-01-30 20:51:49 +01:00
programs atop: Add basic config option for /etc/atoprc 2013-05-23 11:14:24 +00:00
security Merge pull request #173 from wizeman/apparmor-service 2013-05-28 16:46:30 -07:00
services lighttpd: add cgit sub-service 2013-06-02 18:41:18 +02:00
system systemd.sockets: Add listenStreams option for specifying several sockets 2013-05-20 16:26:24 +02:00
tasks Set the domain name of the machine 2013-05-28 08:49:14 +00:00
testing modules/testing/minimal-kernel: linuxPackagesFor no longer takes a 'self' argument 2013-03-02 09:10:58 -05:00
virtualisation Remove obsolete option in Xen domU module 2013-04-16 19:46:22 +02:00
module-list.nix lighttpd: add cgit sub-service 2013-06-02 18:41:18 +02:00
rename.nix rename.nix: Remove annoying traces 2013-02-21 14:43:02 -05:00