diff options
author | Martin Fischer <martin@push-f.com> | 2024-12-18 09:00:37 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2024-12-18 09:00:55 +0100 |
commit | 2d9787e49138ae2af95dd66d12140ee831518e6a (patch) | |
tree | 12909172d354fc690bcea30a251bacaed582accb /nixos | |
parent | d478dbd916c240e5ff609dcca17eedbd04c7fe83 (diff) |
tente: give group access to /srv/gitolite
In preparation for cgit.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tente-configuration.nix | 4 |
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 = { |