From ed7aa322c6a525cf1640b1736537b4f838521741 Mon Sep 17 00:00:00 2001 From: sterni Date: Fri, 15 Nov 2024 13:40:31 +0100 Subject: [PATCH] feat(sterni/code.sterni.lv): hide emails in cgit Change-Id: If48823b7992aa61fee9b1a6f458434a596bead90 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12795 Autosubmit: sterni Tested-by: BuildkiteCI Reviewed-by: sterni --- users/sterni/machines/ingeborg/http/code.sterni.lv.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/users/sterni/machines/ingeborg/http/code.sterni.lv.nix b/users/sterni/machines/ingeborg/http/code.sterni.lv.nix index 843f525de..aa42777d2 100644 --- a/users/sterni/machines/ingeborg/http/code.sterni.lv.nix +++ b/users/sterni/machines/ingeborg/http/code.sterni.lv.nix @@ -119,11 +119,14 @@ let enable-commit-graph=1 root-title=code.sterni.lv + root-desc= css=/cgit.css head-include=${cgitHead} mimetype-file=${pkgs.mime-types}/etc/mime.types + noplainemail=1 + about-filter=${depot.tools.cheddar.about-filter}/bin/cheddar-about source-filter=${depot.tools.cheddar}/bin/cheddar readme=:README.md @@ -175,8 +178,6 @@ in user = "http"; group = "http"; }; - # Default value doesn't work as documented - # https://github.com/NixOS/nixpkgs/pull/318599/files#r1673885083 socket = { user = "http"; group = "http";