12 lines
313 B
Nix
12 lines
313 B
Nix
{
|
|
security.pam.loginLimits = [
|
|
{
|
|
domain = "*"; # Applies to all users/sessions
|
|
type = "-"; # Set both soft and hard limits
|
|
item = "core"; # The soft/hard limit item
|
|
value = "0"; # Core dumps size is limited to 0 (effectively disabled)
|
|
}
|
|
];
|
|
systemd.coredump.enable = false;
|
|
}
|