summary refs log tree commit diff
path: root/nixos/tests/gitea.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-12-02 15:18:47 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2020-12-02 15:18:47 +0100
commitaffb72eccd5284defab1b557be65f45f8a02c86d (patch)
treec065d57f9d2c4032b9c8191402c48c887c5875cd /nixos/tests/gitea.nix
parent16dd1c902c91cd18b98a89a803602d65ca3900d8 (diff)
downloadnixpkgs-affb72eccd5284defab1b557be65f45f8a02c86d.tar
nixpkgs-affb72eccd5284defab1b557be65f45f8a02c86d.tar.gz
nixpkgs-affb72eccd5284defab1b557be65f45f8a02c86d.tar.bz2
nixpkgs-affb72eccd5284defab1b557be65f45f8a02c86d.tar.lz
nixpkgs-affb72eccd5284defab1b557be65f45f8a02c86d.tar.xz
nixpkgs-affb72eccd5284defab1b557be65f45f8a02c86d.tar.zst
nixpkgs-affb72eccd5284defab1b557be65f45f8a02c86d.zip
nixos/tests/gitea: increase memory for VM
Otherwise, the relevant processes are stopped by the kernel's OOM
killer[1].

[1] https://github.com/NixOS/nixpkgs/pull/105698#issuecomment-737257293
Diffstat (limited to 'nixos/tests/gitea.nix')
-rw-r--r--nixos/tests/gitea.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/gitea.nix b/nixos/tests/gitea.nix
index aaed2486421..1fb27593f05 100644
--- a/nixos/tests/gitea.nix
+++ b/nixos/tests/gitea.nix
@@ -14,6 +14,7 @@ let
 
     nodes = {
       server = { config, pkgs, ... }: {
+        virtualisation.memorySize = 2048;
         services.gitea = {
           enable = true;
           database = { inherit type; };