diff options
author | Ben Sima <ben@bsima.me> | 2019-05-23 11:12:55 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-05-23 11:12:55 -0700 |
commit | 96b62b299a1379367c82fa4773f07df093c2c961 (patch) | |
tree | 9bfdfa67e792d5fcdd8bb19e85a771cb84ff6408 /depo/nutin-madaj | |
parent | c2e4b0ef17d0006aff5c9809dcdfa3ac8b80f8a8 (diff) |
remove lighttpd altogether
Diffstat (limited to 'depo/nutin-madaj')
-rw-r--r-- | depo/nutin-madaj/git.nix | 44 |
1 files changed, 1 insertions, 43 deletions
diff --git a/depo/nutin-madaj/git.nix b/depo/nutin-madaj/git.nix index 9fedca0..c40e8b9 100644 --- a/depo/nutin-madaj/git.nix +++ b/depo/nutin-madaj/git.nix @@ -6,6 +6,7 @@ let in { services = { + gitolite = { enable = true; enableGitAnnex = true; @@ -18,48 +19,5 @@ in ''; adminPubkey = "${benKey}"; }; - lighttpd = { - enable = false; - port = 8000; - document-root = "/srv/www"; - mod_userdir = true; - mod_status = true; - collectd = { - enable = true; - }; - cgit = { - # disable cgit for now; the ssh interface still works anyway. - enable = false; - subdir = "git"; - configText = '' - cache-size=0 - clone-url=git@simatime.com:$CGIT_REPO_URL - enable-index-owner=1 - enable-http-clone=0 - enable-index-links=1 - enable-commit-graph=1 - enable-log-filecount=1 - enable-log-linecount=1 - enable-git-config=1 - remove-suffix=1 - branch-sort=age - max-stats=week - mimetype.gif=image/gif - mimetype.html=text/html - mimetype.jpg=image/jpeg - mimetype.jpeg=image/jpeg - mimetype.pdf=application/pdf - mimetype.png=image/png - mimetype.svg=image/svg+xml - about-filter=${pkgs.cgit}/lib/cgit/filters/about-formatting.sh - source-filter=${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py - readme=:README.md - root-title=simatime git repository - root-desc=a computer is a bicycle for the mind. - project-list=${gitDir}/projects.list - scan-path=${gitDir}/repositories - ''; - }; - }; }; } |