summary refs log tree commit diff stats
path: root/modules/nixos/vhack
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-13 19:49:58 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-13 22:40:43 +0200
commit5cbc15b03012f8cf755697854f659939c4f1b946 (patch)
treea211025ab7e73a74f15573e2614f0bde53524e82 /modules/nixos/vhack
parentfix(nixos/git-server): Correctly specify cgit's css path (diff)
downloadnixos-server-5cbc15b03012f8cf755697854f659939c4f1b946.tar.gz
nixos-server-5cbc15b03012f8cf755697854f659939c4f1b946.zip
fix(nixos/git-server): Use correct regex syntax in allowed git config values
Diffstat (limited to '')
-rw-r--r--modules/nixos/vhack/git-server/default.nix2
1 files changed, 1 insertions, 1 deletions
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' );