diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-13 19:49:58 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-13 22:40:43 +0200 |
commit | 5cbc15b03012f8cf755697854f659939c4f1b946 (patch) | |
tree | a211025ab7e73a74f15573e2614f0bde53524e82 /modules/nixos/vhack | |
parent | fix(nixos/git-server): Correctly specify cgit's css path (diff) | |
download | nixos-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.nix | 2 |
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' ); |