mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-19 11:03:47 +00:00
ci(netty): disable NoNewPrivileges on runner so sudo works for deploy
Made-with: Cursor
This commit is contained in:
parent
a1f22bd7b4
commit
bac6f96814
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ let
|
|||
cacheRoot = "/var/cache/forgejo-runner";
|
||||
in
|
||||
{
|
||||
systemd.services.gitea-runner-netty.serviceConfig = {
|
||||
NoNewPrivileges = lib.mkForce false;
|
||||
};
|
||||
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
users = [ "gitea-runner" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue