1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 19:01:16 +02:00

add lfs test, enable lfs on gitea in nixos test

This commit is contained in:
Brian Camacho 2024-11-07 22:54:14 -05:00
parent ef6fa54e05
commit 4bdfeab5f4
2 changed files with 21 additions and 16 deletions

View file

@ -20,9 +20,15 @@ in {
nodes = {
gitea = { pkgs, ... }: {
services.gitea.enable = true;
services.gitea.settings.service.DISABLE_REGISTRATION = true;
services.gitea.settings.log.LEVEL = "Info";
services.gitea.settings.database.LOG_SQL = false;
services.gitea.lfs.enable = true;
services.gitea.settings = {
service.DISABLE_REGISTRATION = true;
server.DOMAIN = "gitea";
server.HTTP_PORT = 3000;
log.LEVEL = "Info";
database.LOG_SQL = false;
};
services.openssh.enable = true;
networking.firewall.allowedTCPPorts = [ 3000 ];
environment.systemPackages = [ pkgs.git pkgs.gitea ];