fix: Forgejo metadata
This commit is contained in:
@@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user