nicks-nix-config/hosts/Alaska/modules/forgejo.nix

26 lines
546 B
Nix
Raw Normal View History

2023-05-06 10:12:27 -07:00
{ 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
2023-05-06 10:28:31 -07:00
service.DISABLE_REGISTRATION = true;
2023-05-06 10:12:27 -07:00
2023-05-06 10:28:31 -07:00
#session.COOKIE_SECURE = true;
2023-05-06 10:12:27 -07:00
# external facing ui
server = {
ROOT_URL = "https://git.nickiel.net";
HTTP_PORT = 3001;
DOMAIN = "git.nickiel.net";
LANDING_PAGE = "/explore/repos";
};
};
};
}