blob: 5309e6fcb8c4196fb91298d55ab2e36e3efc51ec (
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
|
{ inputs, lib, pkgs, ... }:
let
scanPath = "/tank/git";
domain = "git.tdback.net";
in
{
imports = lib.lists.singleton "${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";
};
};
}
|