niksos/hosts/common/desktop/malloc-perturb.nix

5 lines
152 B
Nix

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