nixos/mail/listmonk: fix hardening directives
For some reason, I don't know why I missed those, but I didn't look at my logs for a while. It would be nice if we could catch those statically kinda (?) in CI.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user