From 6038c28b11764c95f4716a02b6f37fce9371e1fa Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sat, 24 Jan 2026 23:36:57 +0100 Subject: git: enable cgit --- config/services/git/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/services/git/default.nix') diff --git a/config/services/git/default.nix b/config/services/git/default.nix index 65663c1..abed2ae 100644 --- a/config/services/git/default.nix +++ b/config/services/git/default.nix @@ -1,10 +1,13 @@ { config, pkgs, ... }: { + imports = [ ./cgit.nix ]; + users.users.git = { isSystemUser = true; group = "git"; createHome = true; + homeMode = "750"; home = "/srv/git"; shell = "${pkgs.git}/bin/git-shell"; openssh.authorizedKeys.keys = with config.personal.lib.publicKeys.ssh; [ -- cgit v1.2.3