use normal memory allocator as scudo crashes firefox
This commit is contained in:
parent
b99106d422
commit
8a3e117d7e
1 changed files with 0 additions and 3 deletions
|
@ -1,15 +1,12 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
nix.allowedUsers = [ "@users" ];
|
nix.allowedUsers = [ "@users" ];
|
||||||
environment.memoryAllocator.provider = "scudo";
|
|
||||||
environment.variables.SCUDO_OPTIONS = "ZeroContents=1";
|
|
||||||
security.lockKernelModules = true;
|
security.lockKernelModules = true;
|
||||||
security.protectKernelImage = true;
|
security.protectKernelImage = true;
|
||||||
security.forcePageTableIsolation = true;
|
security.forcePageTableIsolation = true;
|
||||||
security.virtualisation.flushL1DataCache = "always";
|
security.virtualisation.flushL1DataCache = "always";
|
||||||
security.apparmor.enable = true;
|
security.apparmor.enable = true;
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"slub_debug=FZP"
|
|
||||||
"page_poison=1"
|
"page_poison=1"
|
||||||
"page_alloc.shuffle=1"
|
"page_alloc.shuffle=1"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue