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