wip uid/gid mapping
This commit is contained in:
@@ -15,6 +15,12 @@ in
|
||||
options.my.servers.gitea = setup.mkOptions "gitea" "git" 9083;
|
||||
config = lib.mkIf (cfg.enable && config.my.secureHost) {
|
||||
sops.secrets.gitea.sopsFile = ../../secrets/env.yaml;
|
||||
users.groups.gitea.gid = 974;
|
||||
users.users.gitea = {
|
||||
uid = 975;
|
||||
isSystemUser = true;
|
||||
group = "gitea";
|
||||
};
|
||||
services.gitea = {
|
||||
inherit (cfg) enable;
|
||||
settings = {
|
||||
|
||||
Reference in New Issue
Block a user