Compare commits

..

1 commit

Author SHA1 Message Date
Tristan Daniël Maat 9e06fcf917
gitea: Use a defined service UID
The default of 1000 mapped to my admin user, which was both a bit
concerning and a bit of an annoyance.
2021-04-28 23:18:30 +01:00

View file

@ -3,11 +3,12 @@
{ {
users = { users = {
extraUsers.gitea = { extraUsers.gitea = {
uid = config.ids.uids.git;
isSystemUser = true; isSystemUser = true;
description = "Gitea Service"; description = "Gitea Service";
group = config.users.extraGroups.gitea.name; group = config.users.extraGroups.gitea.name;
}; };
extraGroups.gitea = { }; extraGroups.gitea = { gid = config.ids.gids.git; };
}; };
virtualisation.pods.gitea = { virtualisation.pods.gitea = {