blob: 7e2955a562beef60d736a3f260f0b58670e1e1a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
inputs,
pkgs,
...
}:
let
scanPath = "/tank/git";
domain = "git.tdback.net";
in
{
imports = [ "${inputs.self}/modules/customs/cgit" ];
services.cgit = {
enable = true;
package = pkgs.cgit;
scanPath = scanPath;
virtualHost = domain;
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEzLpTEoej7P04KoNzokQ9IOnNZiKyi2+YQ8yU5WSKCb"
];
settings = {
root-title = domain;
root-desc = "tdback's git repositories";
enable-index-links = 1;
enable-index-owner = 0;
enable-commit-graph = 1;
enable-log-filecount = 1;
enable-log-linecount = 1;
readme = ":README.md";
};
};
}
|