configs/appserver/forgejo.nix
2024-07-02 21:29:35 +02:00

26 lines
418 B
Nix

{ pkgs, config, ... }:
{
services.forgejo = {
enable = true;
#user = "git";
};
services.forgejo.settings = {
DEFAULT = {
RUN_MODE = "prod";
};
service = {
DISABLE_REGISTRATION = true;
};
server = {
ROOT_URL = "http://apps:3000";
};
repository = {
ENABLE_PUSH_CREATE_USER = true;
};
other = {
SHOW_FOOTER_VERSION = true;
};
};
}