move MALLOC_PERTURB_ to options/

This commit is contained in:
jacekpoz 2024-02-29 01:38:00 +01:00
parent a9f23295b1
commit bb6fc2f47c
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C
4 changed files with 7 additions and 2 deletions

View file

@ -8,6 +8,7 @@ _: {
../../options/common/pin-registry.nix
../../options/common/preserve-system.nix
../../options/desktop/bluetooth.nix
../../options/desktop/dev/malloc-perturb.nix
../../options/desktop/fonts.nix
../../options/desktop/opentabletdriver.nix
../../options/desktop/power-supply.nix

View file

@ -68,8 +68,6 @@
environment.sessionVariables = {
CHROME_EXECUTABLE = "${pkgs.ungoogled-chromium}/bin/chromium";
MALLOC_PERTURB_ = "$(($RANDOM % 255 + 1))";
};
services = {

View file

@ -10,6 +10,7 @@ _: {
../../options/common/pin-registry.nix
../../options/common/preserve-system.nix
../../options/desktop/bluetooth.nix
../../options/desktop/dev/malloc-perturb.nix
../../options/desktop/fonts.nix
../../options/desktop/opentabletdriver.nix
../../options/desktop/power-supply.nix

View file

@ -0,0 +1,5 @@
_: {
environment.sessionVariables = {
MALLOC_PERTURB_ = "$(($RANDOM % 255 + 1))";
};
}