configs/appserver/forgejo.nix

27 lines
456 B
Nix
Raw Normal View History

2024-05-23 18:27:15 +02:00
{ pkgs, config, ... }:
{
services.forgejo = {
enable = true;
2024-07-02 21:20:35 +02:00
#user = "git";
2024-05-23 18:27:15 +02:00
};
2024-07-02 21:19:14 +02:00
2024-07-02 13:06:34 +02:00
services.forgejo.settings = {
DEFAULT = {
RUN_MODE = "prod";
};
service = {
2024-07-02 21:12:00 +02:00
DISABLE_REGISTRATION = true;
2024-07-02 13:06:34 +02:00
};
2024-07-02 21:19:14 +02:00
server = {
ROOT_URL = "http://apps:3000";
2024-07-02 22:49:23 +02:00
SSH_DOMAIN = "git.geokkjer.eu";
2024-07-02 21:19:14 +02:00
};
2024-07-02 21:29:35 +02:00
repository = {
ENABLE_PUSH_CREATE_USER = true;
};
2024-07-02 13:06:34 +02:00
other = {
SHOW_FOOTER_VERSION = true;
};
};
2024-05-23 18:27:15 +02:00
}