about summary refs log tree commit diff
path: root/machines/srv1/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/srv1/configuration.nix')
-rw-r--r--machines/srv1/configuration.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix
index 5b9ddee..f00da35 100644
--- a/machines/srv1/configuration.nix
+++ b/machines/srv1/configuration.nix
@@ -7,7 +7,8 @@ in
 {
   imports =
     [
-      ./hardware-configuration.nix
+      #./hardware-configuration.nix
+      ./cgit.nix
     ];
 
   boot.loader.grub.enable = true;
@@ -81,10 +82,10 @@ in
   services.lighttpd = {
     enable = true;
     port = 8080;
-    cgit = {
+    pn-cgit = {
+      logo = "${./baby-yoda.png.comp}";
       enable = true;
       configText = ''
-        logo=${./baby-yoda.png.comp}
         # source-filter=${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.sh
         about-filter=${pkgs.cgit}/lib/cgit/filters/about-formatting.sh
         cache-size=1000
@@ -92,6 +93,10 @@ in
 	root-desc=Personal git server, because I can
         scan-path=/srv/git/
 	virtual-root=/
+	readme=:README.md
+	readme=:README.rst
+	readme=:README.txt
+	readme=:README
 
       '';
     };