27 lines
456 B
Nix
27 lines
456 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";
|
|
SSH_DOMAIN = "git.geokkjer.eu";
|
|
};
|
|
repository = {
|
|
ENABLE_PUSH_CREATE_USER = true;
|
|
};
|
|
other = {
|
|
SHOW_FOOTER_VERSION = true;
|
|
};
|
|
};
|
|
}
|