nixos: services: woodpecker: exec: fix NodeJS
ci/woodpecker/push/check Pipeline was successful Details

I need it for Tree Sitter support...
This commit is contained in:
Bruno BELANYI 2024-04-08 21:19:54 +02:00
parent 6b51b4e2ab
commit 6efe2c12ba
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ in
serviceConfig = {
# Same option as upstream, without @setuid
SystemCallFilter = lib.mkForce "~@clock @privileged @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap";
# NodeJS requires RWX memory...
MemoryDenyWriteExecute = lib.mkForce false;
BindPaths = [
"/nix/var/nix/daemon-socket/socket"