Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
472 B
Nix
20 lines
472 B
Nix
{ ... }:
|
|
{
|
|
services.forgejo = {
|
|
enable = true;
|
|
database.type = "sqlite3";
|
|
settings = {
|
|
server = {
|
|
DOMAIN = "nrec-nixos01.t-juice.club";
|
|
ROOT_URL = "https://nrec-nixos01.t-juice.club/";
|
|
HTTP_ADDR = "127.0.0.1";
|
|
HTTP_PORT = 3000;
|
|
};
|
|
server.LFS_START_SERVER = true;
|
|
service.DISABLE_REGISTRATION = true;
|
|
"service.explore".REQUIRE_SIGNIN_VIEW = true;
|
|
session.COOKIE_SECURE = true;
|
|
};
|
|
};
|
|
}
|