about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-02-03 15:42:57 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-02-03 15:42:57 +0100
commit3b4350519536e067ea0e9d98451bc7c75480f26c (patch)
tree2ca051e0e7012154f07bd6c3881cc1eb50ecc8ea /machines
parent8f7c0230c1a9192a4978cdd2d58eae797f02d6f9 (diff)
downloaddots-3b4350519536e067ea0e9d98451bc7c75480f26c.tar.gz
dots-3b4350519536e067ea0e9d98451bc7c75480f26c.zip
Fix logo
Diffstat (limited to 'machines')
-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
 
       '';
     };