mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
add lfs test, enable lfs on gitea in nixos test
This commit is contained in:
parent
ef6fa54e05
commit
4bdfeab5f4
2 changed files with 21 additions and 16 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue