home-lab/machines/grey-area/services/forgejo.nix
Geir Okkenhaug Jerstad 7a43630bc6 feat: infrastructure updates and documentation improvements
- Update Forgejo service configuration on grey-area
- Refine reverse-proxy network configuration
- Add README_new.md with enhanced documentation structure
- Update instruction.md with latest workflow guidelines
- Enhance plan.md with additional deployment considerations
- Complete PR template restructuring for professional tone

These changes improve service reliability and documentation clarity
while maintaining infrastructure consistency across all machines.
2025-06-07 17:45:47 +00:00

30 lines
634 B
Nix

{ pkgs, config, ... }:
{
services.forgejo = {
enable = true;
# Use the default 'forgejo' user, not 'git'
};
services.forgejo.settings = {
DEFAULT = {
RUN_MODE = "prod";
};
service = {
DISABLE_REGISTRATION = true;
};
server = {
ROOT_URL = "https://git.geokkjer.eu";
SSH_DOMAIN = "git.geokkjer.eu";
SSH_PORT = 1337;
# Disable built-in SSH server, use system SSH instead
DISABLE_SSH = false;
START_SSH_SERVER = false;
};
repository = {
ENABLE_PUSH_CREATE_USER = true;
};
other = {
SHOW_FOOTER_VERSION = true;
};
};
}