Set Runner PATH in NixOS services
This commit is contained in:
@@ -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 = [
|
||||
{
|
||||
|
||||
@@ -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 = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user