mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00: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
|
||||
# AcceptEnv GIT_PROTOCOL
|
||||
# Recommended by forgejo: https://forgejo.org/docs/latest/admin/recommendations/#git-over-ssh
|
||||
services.openssh.settings.AcceptEnv = "GIT_PROTOCOL";
|
||||
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
|
@ -105,7 +105,7 @@ in {
|
|||
HTTP_PORT = 3000;
|
||||
DOMAIN = forgejoDomain;
|
||||
ROOT_URL = "https://${forgejoDomain}/";
|
||||
LANDING_PAGE = "/explore/repos";
|
||||
LANDING_PAGE = "login";
|
||||
SSH_PORT = 9922;
|
||||
};
|
||||
service = {
|
||||
|
@ -115,7 +115,6 @@ in {
|
|||
SHOW_REGISTRATION_BUTTON = false;
|
||||
REGISTER_EMAIL_CONFIRM = false;
|
||||
ENABLE_NOTIFY_MAIL = true;
|
||||
REQUIRE_SIGNIN_VIEW = false;
|
||||
};
|
||||
session.COOKIE_SECURE = true;
|
||||
ui.DEFAULT_THEME = "forgejo-auto";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue