diff options
author | tv <tv@krebsco.de> | 2018-09-28 16:20:48 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-09-28 16:20:48 +0200 |
commit | cc7f4937697a60690a0f47668d6f8b6888722ec5 (patch) | |
tree | 39f5c226291be18845795e5a1eed5d383be26af4 /tv/2configs | |
parent | b29452cfc3f9785098c530e52f71233876d3ca94 (diff) |
tv gitrepos cgit: use README.md for about pages
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/gitrepos.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tv/2configs/gitrepos.nix b/tv/2configs/gitrepos.nix index e7104be3a..a8cbe0f1c 100644 --- a/tv/2configs/gitrepos.nix +++ b/tv/2configs/gitrepos.nix @@ -9,8 +9,19 @@ let { enable = true; cgit = { 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-title = "repositories at ${config.krebs.build.host.name}"; }; }; repos = repos; |