forgejo config now supports ssh-based push

This commit is contained in:
boyreau 2026-09-26 21:33:55 +00:00
commit 24de03cb06
2 changed files with 13 additions and 5 deletions

View file

@ -1,11 +1,19 @@
{ pkgs, lib, ... }:
{
networking.firewall.allowedTCPPorts = [
22
];
services.forgejo = {
enable = true;
settings = {
server = {
HTTP_PORT = 8888;
DISABLE_SSH = true;
ROOT_URL = "https://zospace.freeboxos.fr/forgejo";
START_SSH_SERVER = false;
DISABLE_SSH = false;
SSH_PORT = 22;
SSH_DOMAIN = "zospace.freeboxos.fr";
SSH_CREATE_AUTHORIZED_KEYS_FILE = true;
};
service = {
@ -24,9 +32,9 @@
SHOW_USER_EMAIL = false;
meta = ''
AUTHOR="Forgeato - beyond forging. We potato.";
DESCRIPTION="Potato. Refined.";
KEYWORDS="git,forge,forgejo,potato";
AUTHOR="Forgeato - beyond forging. We potato."
DESCRIPTION="Potato. Refined."
KEYWORDS="git,forge,forgejo,potato"
'';
};