From 8a3e117d7e3367fdf7880abe9abb59217344b60f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 2 May 2020 20:27:05 +0100 Subject: [PATCH] use normal memory allocator as scudo crashes firefox --- nixos/security.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/nixos/security.nix b/nixos/security.nix index 6ec0c68c..98a56b90 100644 --- a/nixos/security.nix +++ b/nixos/security.nix @@ -1,15 +1,12 @@ { config, pkgs, ... }: { nix.allowedUsers = [ "@users" ]; - environment.memoryAllocator.provider = "scudo"; - environment.variables.SCUDO_OPTIONS = "ZeroContents=1"; security.lockKernelModules = true; security.protectKernelImage = true; security.forcePageTableIsolation = true; security.virtualisation.flushL1DataCache = "always"; security.apparmor.enable = true; boot.kernelParams = [ - "slub_debug=FZP" "page_poison=1" "page_alloc.shuffle=1" ];