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,8 +4,11 @@
pkgs, pkgs,
... ...
}: { }: {
users = {
groups.git = {};
# Extra git user for Gitea # Extra git user for Gitea
users.users.git = { users.git = {
uid = 500; uid = 500;
group = "git"; group = "git";
isNormalUser = false; isNormalUser = false;
@ -14,6 +17,7 @@
extraGroups = ["docker" "podman"]; extraGroups = ["docker" "podman"];
shell = pkgs.fish; shell = pkgs.fish;
}; };
};
virtualisation.oci-containers.containers.gitea-db = { virtualisation.oci-containers.containers.gitea-db = {
image = "postgres:14"; image = "postgres:14";