initial config with paste and git

This commit is contained in:
bc 2025-08-02 07:04:30 +00:00
parent 6524349eee
commit 8c7c87968e
4 changed files with 114 additions and 0 deletions

22
o-git-forgejo.nix Normal file
View file

@ -0,0 +1,22 @@
{ config, pkgs, ... }:
let
domain = "gagegit.chicagotea.click";
in
{
services.forgejo = {
enable = true;
settings = {
mailer.ENABLED = false;
server = {
DOMAIN = domain;
ROOT_URL = "https://${domain}/";
};
repository.ENABLE_PUSH_CREATE_USER = true;
#service.DISABLE_REGISTRATION = true;
};
};
services.caddy.virtualHosts.${domain}.extraConfig = ''
reverse_proxy :3000
'';
}