Compare commits

...

2 commits

Author SHA1 Message Date
ab0c9b8735 feat: default to rebase instead of creating a merge commit
All checks were successful
/ check (push) Successful in 2m25s
2024-06-03 07:16:35 +00:00
a89a812aaf refactor: sort forgejo config 2024-06-03 07:16:35 +00:00

View file

@ -10,10 +10,21 @@ in {
enable = true;
package = pkgs.unstable.forgejo;
settings = {
DEFAULT.APP_NAME = "buffet's kitchen";
admin.SEND_NOTIFICATION_EMAIL_ON_NEW_USER = true;
cron.ENABLED = true;
federation.ENABLED = true;
DEFAULT = {
APP_NAME = "buffet's kitchen";
};
admin = {
SEND_NOTIFICATION_EMAIL_ON_NEW_USER = true;
};
cron = {
ENABLED = true;
};
federation = {
ENABLED = true;
};
mailer = {
ENABLED = true;
@ -22,23 +33,6 @@ in {
SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail";
};
repository = {
ENABLE_PUSH_CREATE_USER = true;
ENABLE_PUSH_CREATE_ORG = true;
};
server = {
DOMAIN = "buffets.kitchen";
ROOT_URL = "https://buffets.kitchen/";
HTTP_PORT = port;
LANDING_PAGE = "/kitchen";
};
service = {
DISABLE_REGISTRATION = true;
ENABLE_NOTIFY_MAIL = true;
};
"markup.asciidoc" = {
ENABLED = true;
NEED_POSTPROCESS = true;
@ -54,6 +48,27 @@ in {
RENDER_COMMAND = ''"timeout 30s ${pkgs.pandoc}/bin/pandoc +RTS -M512M -RTS -f rst"'';
IS_INPUT_FILE = false;
};
repository = {
ENABLE_PUSH_CREATE_USER = true;
ENABLE_PUSH_CREATE_ORG = true;
};
"repository.pull-request" = {
DEFAULT_MERGE_STYLE = "rebase";
};
server = {
DOMAIN = "buffets.kitchen";
ROOT_URL = "https://buffets.kitchen/";
HTTP_PORT = port;
LANDING_PAGE = "/kitchen";
};
service = {
DISABLE_REGISTRATION = true;
ENABLE_NOTIFY_MAIL = true;
};
};
};