1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Remove gitea config

This commit is contained in:
RGBCube 2024-02-04 20:23:20 +03:00
parent 5b3727f467
commit 5e2e8c5cfe
No known key found for this signature in database

View file

@ -1,27 +0,0 @@
{ config, ulib, ... }: with ulib;
let
inherit (config.networking) domain;
fqdn = "git.${domain}";
in serverSystemConfiguration {
services.gitea = { # enabed {
lfs = enabled {};
database = {
socket = "/run/postgresql";
type = "postgres";
};
settings = {
APP_NAME = "RGBCube's Git Server";
server.DOMAIN = fqdn;
server.HTTP_ADDR = "::";
server.SSH_PORT = builtins.elemAt config.services.openssh.port 0;
service.DISABLE_REGISTRATION = true;
session.COOKIE_SECURE = true;
};
};
}