From 5cbc15b03012f8cf755697854f659939c4f1b946 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 13 Aug 2024 19:49:58 +0200 Subject: fix(nixos/git-server): Use correct regex syntax in allowed git config values --- modules/nixos/vhack/git-server/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/vhack/git-server/default.nix b/modules/nixos/vhack/git-server/default.nix index fdd81a2..2c1ac7e 100644 --- a/modules/nixos/vhack/git-server/default.nix +++ b/modules/nixos/vhack/git-server/default.nix @@ -75,7 +75,7 @@ in { $RC{UMASK} = 0027; # Enable group access, important for cgit. # Enable modifing git variables (for cgit.owner and such things) - $RC{GIT_CONFIG_KEYS} = 'cgit.owner cgit.desc cgit.section cgit.homepage gitweb.owner gitweb.description'; + $RC{GIT_CONFIG_KEYS} = 'cgit\.owner cgit\.desc cgit\.section cgit\.homepage gitweb\.owner gitweb\.description'; push( @{$RC{ENABLE}}, 'config' ); push( @{$RC{ENABLE}}, 'git-config' ); -- cgit 1.4.1