fix: Forgejo metadata

This commit is contained in:
Inex Code
2025-03-28 17:15:20 +03:00
parent d08a5e1ba3
commit 3144e384a6

View File

@@ -21,8 +21,9 @@ let
redirect-uri = redirect-uri =
"https://${cfg.subdomain}.${sp.domain}/user/oauth2/${oauth2-provider-name}/callback"; "https://${cfg.subdomain}.${sp.domain}/user/oauth2/${oauth2-provider-name}/callback";
adminsGroup = "sp.forgejo.admins"; # SelfPrivacy uses SP Module ID to identify the group!
usersGroup = "sp.forgejo.users"; adminsGroup = "sp.gitea.admins";
usersGroup = "sp.gitea.users";
linuxUserOfService = "gitea"; linuxUserOfService = "gitea";
linuxGroupOfService = "gitea"; linuxGroupOfService = "gitea";
@@ -128,15 +129,22 @@ in
enableSso = (lib.mkOption { enableSso = (lib.mkOption {
default = false; default = false;
type = lib.types.bool; type = lib.types.bool;
description = "Enable SSO for Forgejo"; description = "Enable Single Sign-On";
}) // { }) // {
meta = { meta = {
type = "enable"; type = "bool";
weight = 7;
}; };
}; };
debug = lib.mkOption { debug = (lib.mkOption {
default = false; default = false;
type = lib.types.bool; type = lib.types.bool;
description = "Enable debug logging";
}) // {
meta = {
type = "bool";
weight = 8;
};
}; };
}; };