nixos/open-webui: add additional systemd hardening (#377884)

This commit is contained in:
Adam C. Stephens
2025-03-15 10:07:32 -04:00
committed by GitHub
@@ -120,6 +120,18 @@ in
RestrictRealtime = true;
SystemCallArchitectures = "native";
UMask = "0077";
CapabilityBoundingSet = "";
RestrictAddressFamilies = [
"AF_INET"
"AF_INET6"
"AF_UNIX"
];
ProtectClock = true;
ProtectProc = "invisible";
SystemCallFilter = [
"@system-service"
"~@privileged"
];
};
};