summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-12 14:25:31 -0700
committerBen Sima <ben@bsima.me>2019-05-12 14:25:31 -0700
commitf131a393d439e794b6f638653e9c33cf6dc1f47b (patch)
treee1a45842ed4a03fffd0fb851558784e34c000b38 /machines
parent6da565d58ec3aa05adbddb612b4cd6f0c69d9fce (diff)
no more git server
Diffstat (limited to 'machines')
-rw-r--r--machines/lithium.nix54
1 files changed, 0 insertions, 54 deletions
diff --git a/machines/lithium.nix b/machines/lithium.nix
index a4f29d3..41375cd 100644
--- a/machines/lithium.nix
+++ b/machines/lithium.nix
@@ -207,60 +207,6 @@ in
updater.enable = false;
};
- gitolite = {
- enable = true;
- enableGitAnnex = true;
- dataDir = "${gitDir}";
- user = "git";
- group = "git";
- extraGitoliteRc = ''
- $RC{UMASK} = 0022;
- $RC{SITE_INFO} = 'a computer is a bicycle for the mind.';
- $RC{GIT_CONFIG_KEYS} = 'gitweb\.(owner|description|category)';
- '';
- adminPubkey = "${benKey}";
- };
- lighttpd = {
- enable = true;
- port = 8000;
- document-root = "${gitDir}";
- mod_userdir = true;
- mod_status = true;
- collectd = {
- enable = true;
- };
- cgit = {
- enable = true;
- configText = ''
- cache-size=0
- clone-url=git@buildmindful.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=buildmindful git repository
- root-desc=a computer is a bicycle for the mind.
- project-list=${gitDir}/projects.list
- scan-path=${gitDir}/repositories
- '';
- };
- };
postgresql = {
enable = true;
package = pkgs.postgresql_10;