initial commit

This commit is contained in:
Jet 2026-02-16 21:29:21 -08:00
commit 47c42dc7a6
14 changed files with 490 additions and 0 deletions

24
modules/forgejo.nix Normal file
View file

@ -0,0 +1,24 @@
{ config, pkgs, ... }:
{
services.forgejo = {
enable = true;
database.type = "postgres";
# Enable support for Large File Storage
lfs.enable = true;
settings = {
server = {
DOMAIN = "git.extremist.software";
ROOT_URL = "https://git.extremist.software/";
HTTP_PORT = 3000;
};
# You can configure SMTP here using secrets if needed
};
# Secret for DB password set in secrets.nix
};
services.postgresql = {
enable = true;
package = pkgs.postgresql_15;
};
}