mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore(forgejo): show login by default
This commit is contained in:
parent
3548867a40
commit
37f77eed3d
1 changed files with 3 additions and 4 deletions
|
@ -52,8 +52,8 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# XXX: TODO ssh if not using internal
|
# Recommended by forgejo: https://forgejo.org/docs/latest/admin/recommendations/#git-over-ssh
|
||||||
# AcceptEnv GIT_PROTOCOL
|
services.openssh.settings.AcceptEnv = "GIT_PROTOCOL";
|
||||||
|
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -105,7 +105,7 @@ in {
|
||||||
HTTP_PORT = 3000;
|
HTTP_PORT = 3000;
|
||||||
DOMAIN = forgejoDomain;
|
DOMAIN = forgejoDomain;
|
||||||
ROOT_URL = "https://${forgejoDomain}/";
|
ROOT_URL = "https://${forgejoDomain}/";
|
||||||
LANDING_PAGE = "/explore/repos";
|
LANDING_PAGE = "login";
|
||||||
SSH_PORT = 9922;
|
SSH_PORT = 9922;
|
||||||
};
|
};
|
||||||
service = {
|
service = {
|
||||||
|
@ -115,7 +115,6 @@ in {
|
||||||
SHOW_REGISTRATION_BUTTON = false;
|
SHOW_REGISTRATION_BUTTON = false;
|
||||||
REGISTER_EMAIL_CONFIRM = false;
|
REGISTER_EMAIL_CONFIRM = false;
|
||||||
ENABLE_NOTIFY_MAIL = true;
|
ENABLE_NOTIFY_MAIL = true;
|
||||||
REQUIRE_SIGNIN_VIEW = false;
|
|
||||||
};
|
};
|
||||||
session.COOKIE_SECURE = true;
|
session.COOKIE_SECURE = true;
|
||||||
ui.DEFAULT_THEME = "forgejo-auto";
|
ui.DEFAULT_THEME = "forgejo-auto";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue