From 4482f2a2851452ba41310abdc179f7efeffb515a Mon Sep 17 00:00:00 2001 From: toufic ar Date: Mon, 26 Jan 2026 20:46:06 +0200 Subject: [PATCH] prevent killing forgejo runners on nixos-rebuild switch --- config/devops/actions_runner.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/devops/actions_runner.nix b/config/devops/actions_runner.nix index bd36ed9..398ec65 100644 --- a/config/devops/actions_runner.nix +++ b/config/devops/actions_runner.nix @@ -29,4 +29,9 @@ ]; }; }; + + systemd.services.gitea-runner-default = { + # don't restart on `nixos-rebuild switch` + restartIfChanged = false; + }; }