summaryrefslogtreecommitdiff
path: root/nixos/tente-configuration.nix
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-12 17:51:19 +0100
committerMartin Fischer <martin@push-f.com>2024-12-12 20:01:25 +0100
commit2a154ba696ace0ba57ee2e88604010b98d4e8d3b (patch)
tree525e327db6d6b6a19779354c3b94078003bbfddd /nixos/tente-configuration.nix
parent232500b1578ae288614bd64d8b8d960ddccc504c (diff)
tente: enable gitolite
Diffstat (limited to 'nixos/tente-configuration.nix')
-rw-r--r--nixos/tente-configuration.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/tente-configuration.nix b/nixos/tente-configuration.nix
index 678a133..e206607 100644
--- a/nixos/tente-configuration.nix
+++ b/nixos/tente-configuration.nix
@@ -66,6 +66,12 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
+ services.gitolite = {
+ enable = true;
+ adminPubkey = ""; # TODO: submit PR to nixpkgs to make this option optional
+ user = "git";
+ };
+
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];