1

Services/Gitea: Add git group for git user

This commit is contained in:
2025-07-09 01:32:36 +02:00
parent 2cd6aaea98
commit 4cc74f7590

View File

@ -4,15 +4,19 @@
pkgs, pkgs,
... ...
}: { }: {
# Extra git user for Gitea users = {
users.users.git = { groups.git = {};
uid = 500;
group = "git"; # Extra git user for Gitea
isNormalUser = false; users.git = {
isSystemUser = true; uid = 500;
description = "Gitea User"; group = "git";
extraGroups = ["docker" "podman"]; isNormalUser = false;
shell = pkgs.fish; isSystemUser = true;
description = "Gitea User";
extraGroups = ["docker" "podman"];
shell = pkgs.fish;
};
}; };
virtualisation.oci-containers.containers.gitea-db = { virtualisation.oci-containers.containers.gitea-db = {