nixos: services: gitea: use 'git' group
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This commit is contained in:
Bruno BELANYI 2024-03-05 12:44:08 +00:00
parent 6bef924513
commit ed15e62e1d

View file

@ -58,6 +58,8 @@ in
appName = "Ambroisie's forge"; appName = "Ambroisie's forge";
user = "git"; user = "git";
group = "git";
lfs.enable = true; lfs.enable = true;
useWizard = false; useWizard = false;
@ -107,11 +109,6 @@ in
home = config.services.gitea.stateDir; home = config.services.gitea.stateDir;
useDefaultShell = true; useDefaultShell = true;
group = "git"; group = "git";
# The service for gitea seems to hardcode the group as
# gitea, so, uh, just in case?
extraGroups = [ "gitea" ];
isSystemUser = true; isSystemUser = true;
}; };
users.groups.git = { }; users.groups.git = { };