Silly nixpkgs mirror, totally harmless :3
Find a file
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
doc Manual: "mke2fs -j" -> mkfs.ext4 2013-05-13 11:54:04 +02:00
gui renaming all occurrences of /var/run/{booted,current}-system 2012-07-23 14:01:35 -04:00
lib Fix nixos test driver startJob function. It was stopping the job before. 2013-03-20 20:45:43 +01:00
maintainers Doh 2013-01-25 17:12:38 +01:00
modules lighttpd: add cgit sub-service 2013-06-02 18:41:18 +02:00
tests tests/misc.nix: Test nixos-rebuild --help 2013-05-15 12:52:15 +02:00
.gitignore Ignore .version-suffix file created by nixos-rebuild 2013-01-16 10:12:42 -05:00
.version Bump the NixOS version number to 0.2 2013-01-15 14:25:13 +01:00
COPYING * Add a license, finally :-) 2010-05-28 11:48:41 +00:00
default.nix Parameterise the path to nixpkgs. 2013-01-28 16:11:44 +01:00
README * URL updates. 2008-05-09 15:08:43 +00:00
release-combined.nix release-combined: Remove maintainers from everything but `tested' 2013-04-05 13:59:43 -04:00
release.nix iso_minimal_new_kernel 2013-04-06 18:24:50 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.