aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-25 15:13:41 -0300
committerEuAndreh <eu@euandre.org>2021-07-25 15:13:41 -0300
commit7fe74e398cc40a06d7d7753c1aa2f6392e7ed7e6 (patch)
tree39afdba36e1d4dbbb9a73d6aac1558fd402544f7
parentservers/nixvps/configuration.nix: Allow serving JavaScript directcly from CGit (diff)
downloadserver-7fe74e398cc40a06d7d7753c1aa2f6392e7ed7e6.tar.gz
server-7fe74e398cc40a06d7d7753c1aa2f6392e7ed7e6.tar.xz
servers/nixvps/configuration.nix: Use tar.xz and misc CGit configs
-rw-r--r--servers/nixvps/configuration.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/servers/nixvps/configuration.nix b/servers/nixvps/configuration.nix
index ea1a30d..a952600 100644
--- a/servers/nixvps/configuration.nix
+++ b/servers/nixvps/configuration.nix
@@ -121,13 +121,15 @@ in {
enable-index-owner=0
enable-log-filecount=1
enable-log-linecount=1
+ enable-html-serving=1
root-desc=Patches welcome!
+ readme=:README.en.md
readme=:README.md
readme=:README
max-repodesc-length=120
remove-suffix=1
root-title=EuAndreh's repositories
- snapshots=tar.gz
+ snapshots=tar.xz
source-filter=${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py
about-filter=${pkgs.cgit}/lib/cgit/filters/about-formatting.sh
scan-path=/srv/git