gurkan
/
nixos-config
Archived
1
0
Fork 0
This repository has been archived on 2024-01-21. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-config/modules/server/gitea.nix

30 lines
642 B
Nix
Raw Normal View History

2021-06-25 13:49:04 +02:00
{ lib, config, ... }:
{
services.gitea = {
enable = true;
rootUrl = "https://git.gurkan.in";
appName = "My git forks";
httpAddress = "127.0.0.1";
domain = "git.gurkan.in";
settings = {
2023-02-01 23:12:38 +01:00
service.DISABLE_REGISTRATION = true;
log.LEVEL= "Warn";
2022-05-20 15:10:39 +02:00
repository = {
DEFAULT_REPO_UNITS = "repo.code,repo.releases";
};
2021-06-25 13:49:04 +02:00
server = {
LANDING_PAGE = "explore";
};
2022-05-20 15:10:39 +02:00
ui = {
SHOW_USER_EMAIL = false;
};
2021-06-25 13:49:04 +02:00
"ui.meta" = {
2022-05-20 15:10:39 +02:00
DESCRIPTION = "This is where I fork my stuff";
2021-06-25 13:49:04 +02:00
};
other = {
SHOW_FOOTER_VERSION = false;
};
};
};
}