forgejo and maybe more?

This commit is contained in:
tristan 2025-06-18 22:22:20 -04:00
parent 9da5443958
commit b6f2c2a8ef
3 changed files with 31 additions and 4 deletions

26
imports/forgejo.nix Normal file
View file

@ -0,0 +1,26 @@
{ config, lib, pkgs, ... }:
{
services.forgejo= {
enable = true;
settings = {
server = {
DOMAIN = "forge.mymarseille.duckdns.org";
ROOT_URL = "https://forge.mymarseille.duckdns.org";
HTTP_PORT = 3000;
DISABLE_SSH = true;
};
session.COOKIE_SECURE = true;
service.DISABLE_REGISTRATION = true;
};
database = {
type = "postgres";
port = 5432;
name = "forgejo";
};
};
}