mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Remove gitea config
This commit is contained in:
parent
5b3727f467
commit
5e2e8c5cfe
1 changed files with 0 additions and 27 deletions
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue