From 2d9787e49138ae2af95dd66d12140ee831518e6a Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 18 Dec 2024 09:00:37 +0100 Subject: tente: give group access to /srv/gitolite In preparation for cgit. --- nixos/tente-configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos/tente-configuration.nix') diff --git a/nixos/tente-configuration.nix b/nixos/tente-configuration.nix index e74a679..b7192ea 100644 --- a/nixos/tente-configuration.nix +++ b/nixos/tente-configuration.nix @@ -91,7 +91,11 @@ in enable = true; adminPubkey = ""; # TODO: submit PR to nixpkgs to make this option optional user = "git"; + group = "git"; dataDir = "/srv/gitolite"; + extraGitoliteRc = '' + $RC{UMASK} = 0027; + ''; }; security.acme = { -- cgit v1.2.3