Set Runner PATH in NixOS services
NixOS switch mini-pc / switch (push) Has been cancelled
NixOS switch cloud-pc / switch (push) Has been cancelled

This commit is contained in:
Dmitry
2026-05-30 12:37:40 +03:00
parent 9148838e12
commit de9ed1e9ee
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -88,7 +88,10 @@
labels = [ "cloud-pc" "cloud-pc-nixos" ];
};
systemd.services."gitea-runner-cloud-pc".serviceConfig.SupplementaryGroups = [ "docker" ];
systemd.services."gitea-runner-cloud-pc".serviceConfig = {
SupplementaryGroups = [ "docker" ];
Environment = [ "PATH=/run/current-system/sw/bin:/bin" ];
};
security.sudo.extraRules = [
{
+4 -1
View File
@@ -83,7 +83,10 @@
labels = [ "mini-pc" "mini-pc-nixos" ];
};
systemd.services."gitea-runner-mini-pc".serviceConfig.SupplementaryGroups = [ "docker" ];
systemd.services."gitea-runner-mini-pc".serviceConfig = {
SupplementaryGroups = [ "docker" ];
Environment = [ "PATH=/run/current-system/sw/bin:/bin" ];
};
security.sudo.extraRules = [
{