Move NixOS switches to SSH runners
NixOS switch cloud-pc / switch (push) Failing after 10m52s
Deploy cloud-pc / deploy (push) Failing after 11m46s
Deploy mini-pc / deploy (push) Failing after 10m14s
NixOS switch mini-pc / switch (push) Has been cancelled

This commit is contained in:
Dmitry
2026-05-30 13:11:29 +03:00
parent ef1503aa3a
commit 60a5778194
8 changed files with 56 additions and 54 deletions
-25
View File
@@ -75,30 +75,5 @@
}
'';
services.gitea-actions-runner.instances."mini-pc" = {
enable = true;
name = "mini-pc";
url = "https://git.ada-dev.ru";
tokenFile = "/etc/gitea-runner/mini-pc.token";
labels = [ "mini-pc" "mini-pc-nixos" ];
};
systemd.services."gitea-runner-mini-pc".serviceConfig = {
SupplementaryGroups = [ "docker" ];
Environment = [ "PATH=/run/current-system/sw/bin:/bin" ];
};
security.sudo.extraRules = [
{
users = [ "gitea-runner" ];
commands = [
{
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}
];
}
];
system.stateVersion = "25.11";
}