nixos/readeck: add back MemoryDenyWriteExecute

SQLite driver is reverted to its CGO version so this can be enabled

(cherry picked from commit 17f95268f3)
This commit is contained in:
linsui
2025-06-05 03:47:00 +08:00
committed by github-actions[bot]
parent 0bc36c3d9a
commit d50977688f

View File

@@ -68,6 +68,7 @@ in
ExecStart = "${lib.getExe cfg.package} serve -config ${configFile}";
ProtectSystem = "full";
SystemCallArchitectures = "native";
MemoryDenyWriteExecute = true;
NoNewPrivileges = true;
PrivateTmp = true;
PrivateDevices = true;