niksos/options/desktop/dev/malloc-perturb.nix
2024-07-16 00:26:09 +02:00

5 lines
143 B
Nix

{
environment.sessionVariables = {
MALLOC_PERTURB_ = "$(($(head -200 /dev/urandom | cksum | cut -f1 -d ' ') % 255 + 1))";
};
}