diff --git a/machines/core-services-01/drone-runners.nix b/machines/core-services-01/drone-runners.nix index 196b1d4..51675ea 100644 --- a/machines/core-services-01/drone-runners.nix +++ b/machines/core-services-01/drone-runners.nix @@ -5,9 +5,11 @@ in { services.drone-exec-runner.nix01 = { enable = true; + restartIfChanged = false; # Prevent from killing itself as it is a core machine. env = [ "DRONE_RUNNER_CAPACITY=${toString capacity}" "CLIENT_DRONE_RPC_HOST=127.0.0.1:${toString config.services.drone-server.port}" + "DRONE_RUNNER_LABELS=nix:true,core:true" # nix-ready and runs on a core machine. ]; envFile = config.age.secrets.droneKeyFile.path; }; diff --git a/machines/core-services-01/nix/sources.json b/machines/core-services-01/nix/sources.json index 83adeaa..edc3ecf 100644 --- a/machines/core-services-01/nix/sources.json +++ b/machines/core-services-01/nix/sources.json @@ -14,7 +14,7 @@ "klubrz-nur": { "branch": "main", "repo": "https://git.rz.ens.wtf/Klub-RZ/nur", - "rev": "420773149ef98de6a19ae6c551f9f4c6b60e0c1c", + "rev": "2d9da6ab1f53af1bff116426e79aeb35408681f6", "type": "git" }, "niv": {