change the core count to string

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-23 11:43:32 +01:00
parent c16f522e2d
commit 325e22e4ad
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -12,7 +12,7 @@
environment = {
DRONE_RPC_HOST = "drone.int.chir.rs";
DRONE_RPC_PROTO = "https";
DRONE_RUNNER_MAX_PROCS = config.nix.settings.cores;
DRONE_RUNNER_MAX_PROCS = toString config.nix.settings.cores;
DRONE_RUNNER_NAME = "${config.networking.hostName}.int.chir.rs";
};
serviceConfig = {