Some checks failed
Run nix flake check / flake-check (push) Failing after 10m28s
The NixOS module's lfs.enable option properly handles LFS JWT secret generation via forgejo-secrets.service, fixing the permission denied error on app.ini. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
457 B
Nix
20 lines
457 B
Nix
{ ... }:
|
|
{
|
|
services.forgejo = {
|
|
enable = true;
|
|
database.type = "sqlite3";
|
|
lfs.enable = true;
|
|
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;
|
|
};
|
|
service.DISABLE_REGISTRATION = true;
|
|
"service.explore".REQUIRE_SIGNIN_VIEW = true;
|
|
session.COOKIE_SECURE = true;
|
|
};
|
|
};
|
|
}
|