Make some room on /tmp for drones build directory

This commit is contained in:
Sandro - 2023-01-30 00:36:01 +01:00
parent 1883bb321f
commit 400b22ae3b
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ config, hostRegistry, pkgs, ... }:
{ config, hostRegistry, options, pkgs, ... }:
let
webroot = "/var/www";
in
@ -7,9 +7,12 @@ in
vcpu = 8;
mem = 1024;
};
c3d2.deployment.server = "server10";
c3d2.deployment = {
# /tmp is to small for drone to clone the repo even with depth
mounts = options.c3d2.deployment.mounts.default ++ [ "tmp" ];
server = "server10";
};
boot.tmpOnTmpfs = true;
system.stateVersion = "22.05";
networking.hostName = "c3d2-web";