added git user

This commit is contained in:
Bryan Ramos 2026-03-12 03:25:30 -04:00
parent 40c509731e
commit 8b001768eb

View file

@ -14,6 +14,13 @@ in
};
config = mkIf cfg.enable {
users.groups.git = {};
users.users.git = {
isSystemUser = true;
group = "git";
home = "/var/lib/forgejo";
shell = "${pkgs.git}/bin/git-shell";
};
users.users.nginx = mkIf nginx.enable {
extraGroups = [ "git" ];
};