This commit is contained in:
Bryan Ramos 2026-03-12 03:30:38 -04:00
parent 55d6a0eb1f
commit 6be9a15adf

View file

@ -21,10 +21,17 @@ in
home = "/var/lib/forgejo";
shell = "${pkgs.git}/bin/git-shell";
};
users.users.nginx = mkIf nginx.enable {
extraGroups = [ "git" ];
};
systemd.tmpfiles.rules = [
"d /var/lib/forgejo 0750 git git -"
"d /var/lib/forgejo/custom 0750 git git -"
"d /var/lib/forgejo/data 0750 git git -"
];
services.forgejo = {
enable = true;
user = "git";