blob: c16f424347f3ead41e9e4d4a1fabd5ad723e5115 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ config, pkgs, ... }:
let
repositoryPath = "/home/compromyse";
in {
services.cgit."git.compromyse.xyz" = {
enable = true;
user = "root";
group = "root";
scanPath = repositoryPath;
settings = {
root-title = "compromyse: CGIT";
root-desc = "Compromyse's Git Repositories";
enable-http-clone = true;
enable-commit-graph = true;
enable-follow-links = true;
source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py";
};
nginx.virtualHost = "git.compromyse.xyz";
};
}
|