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
commit bbd92ae047
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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";