summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-18 09:00:37 +0100
committerMartin Fischer <martin@push-f.com>2024-12-18 09:00:55 +0100
commit2d9787e49138ae2af95dd66d12140ee831518e6a (patch)
tree12909172d354fc690bcea30a251bacaed582accb
parentd478dbd916c240e5ff609dcca17eedbd04c7fe83 (diff)
tente: give group access to /srv/gitolite
In preparation for cgit.
-rw-r--r--nixos/tente-configuration.nix4
1 files changed, 4 insertions, 0 deletions
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 = {