mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-12-03 09:55:29 -08:00
25 lines
546 B
Nix
25 lines
546 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
services.gitea = {
|
|
enable = true;
|
|
package = pkgs.forgejo;
|
|
stateDir = "/Aurora/Forgejo";
|
|
|
|
settings = {
|
|
|
|
#ui.DEFAULT_THEME = "arc-green";
|
|
# Enable this after the first user has been created
|
|
#service.DISABLE_REGISTRATION = true;
|
|
|
|
session.COOKIE_SECURE = true;
|
|
# external facing ui
|
|
server = {
|
|
ROOT_URL = "https://git.nickiel.net";
|
|
HTTP_PORT = 3001;
|
|
DOMAIN = "git.nickiel.net";
|
|
LANDING_PAGE = "/explore/repos";
|
|
};
|
|
};
|
|
};
|
|
}
|