diff --git a/hosts/c3d2-web/default.nix b/hosts/c3d2-web/default.nix index 6ced745a..91afb568 100644 --- a/hosts/c3d2-web/default.nix +++ b/hosts/c3d2-web/default.nix @@ -3,7 +3,16 @@ { microvm = { vcpu = 4; - mem = 2 * 1024; # drone-ssh-runner clones the git repo which requires some RAM + # drone-ssh-runner clones the git repo into tmpfs which requires + # some RAM + mem = 2 * 1024; + }; + + # drone-ssh-runner clones into /tmp which needs to be bigger than + # the default rootfs tmpfs + boot.tmp = { + useTmpfs = true; + tmpfsSize = "80%"; }; c3d2.deployment = {