all repos — nixfiles @ b76a8f3639efa31bfc0b7686fa55b7207446eb03

System and user configuration, managed by nix and home-manager

update cgit settings
Alan Pearce alan@alanpearce.eu
Mon, 22 Apr 2024 10:37:09 +0200
commit

b76a8f3639efa31bfc0b7686fa55b7207446eb03

parent

1643493fc203c6f75dad156c7cea29ad0ad4e5b9

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M system/linde.nixsystem/linde.nix
@@ -633,7 +633,7 @@ transport fastcgi {                   env       SCRIPT_FILENAME  {http.vars.root}/cgit.cgi
                   env       CGIT_CONFIG      ${pkgs.writeText "cgitrc" ''
                     head-include=/srv/http/cgit/responsive-cgit-css-master/head.html
-                    css=/custom/custom.css
+                    css=/custom/responsive-cgit-css-master/cgit.css
                     virtual-root=/
                     logo=
                     readme=:README.md
@@ -651,7 +651,6 @@ enable-http-clone=1                     enable-commit-graph=1
                     mimetype-file=${pkgs.nginx}/conf/mime.types
                     section-from-path=1
-                    side-by-side-diffs=1
                     noplainemail=1
                     repository-sort=age
                     root-title=my personal projects
@@ -749,7 +748,6 @@ ];       };
     };
   };
-
   users.groups.git.gid = config.ids.gids.git;
   services.gitDaemon = {
     enable = true;