includes forgejo in vps

This commit is contained in:
Dennis Schoepf 2026-03-11 22:44:19 +01:00
parent 1e9cacb761
commit 3397c8541c
2 changed files with 8 additions and 1 deletions

View file

@ -22,6 +22,7 @@ in
homepage
actual-server
memos
forgejo
(
{ config, lib, ... }:

View file

@ -1,7 +1,12 @@
{ ... }:
{
flake.modules.nixos.forgejo =
{ pkgs, config, ... }:
{
pkgs,
config,
lib,
...
}:
{
services.forgejo = {
enable = true;
@ -11,6 +16,7 @@
DOMAIN = "git.dnsc.io";
ROOT_URL = "https://git.dnsc.io/";
HTTP_PORT = 9004;
SSH_PORT = lib.head config.services.openssh.ports;
};
service.DISABLE_REGISTRATION = false;
mailer = {