tv gitrepos cgit: use README.md for about pages
This commit is contained in:
parent
b29452cfc3
commit
cc7f493769
@ -9,8 +9,19 @@ let {
|
|||||||
enable = true;
|
enable = true;
|
||||||
cgit = {
|
cgit = {
|
||||||
settings = {
|
settings = {
|
||||||
root-title = "repositories at ${config.krebs.build.host.name}";
|
about-filter = pkgs.exec "krebs.cgit.about-filter" rec {
|
||||||
|
filename = "${pkgs.pythonPackages.markdown2}/bin/markdown2";
|
||||||
|
argv = [
|
||||||
|
filename
|
||||||
|
"--extras=fenced-code-blocks"
|
||||||
|
];
|
||||||
|
envp = {};
|
||||||
|
};
|
||||||
|
readme = [
|
||||||
|
":README.md"
|
||||||
|
];
|
||||||
root-desc = "mostly krebs";
|
root-desc = "mostly krebs";
|
||||||
|
root-title = "repositories at ${config.krebs.build.host.name}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
repos = repos;
|
repos = repos;
|
||||||
|
Loading…
Reference in New Issue
Block a user