Merge pull request #280561 from RaitoBezarius/fix-listmonk-module

nixos/mail/listmonk: fix hardening directives
This commit is contained in:
Ryan Lahfa
2024-01-17 03:42:31 +01:00
committed by GitHub
+2 -3
View File
@@ -201,13 +201,12 @@ in {
DynamicUser = true;
NoNewPrivileges = true;
CapabilityBoundingSet = "";
SystemCallArchitecture = "native";
SystemCallArchitectures = "native";
SystemCallFilter = [ "@system-service" "~@privileged" ];
ProtectDevices = true;
PrivateDevices = true;
ProtectControlGroups = true;
ProtectKernelTunables = true;
ProtectHome = true;
DeviceAllow = false;
RestrictNamespaces = true;
RestrictRealtime = true;
UMask = "0027";