n8n: remove systemd option incompatible with nodejs

The MemoryDenyWriteExecute systemd option is widely known to be
incompatible with nodejs, and causes service crashes as reported in #119687.

Fixes #119687.

Changed files
+1 -1
nixos
modules
services
misc
+1 -1
nixos/modules/services/misc/n8n.nix
···
RestrictNamespaces = "yes";
RestrictRealtime = "yes";
RestrictSUIDSGID = "yes";
-
MemoryDenyWriteExecute = "yes";
+
MemoryDenyWriteExecute = "no"; # v8 JIT requires memory segments to be Writable-Executable.
LockPersonality = "yes";
};
};