Services/Gitea: Add git group for git user
This commit is contained in:
@ -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 = {
|
||||||
|
Reference in New Issue
Block a user