host: use libc provider for each host

This commit is contained in:
Dmitriy Pleshevskiy 2024-03-29 22:12:26 +03:00
parent 52f409c4ce
commit 063ade0bc8
Signed by: pleshevskiy
GPG Key ID: 17041163DA10A9A2
2 changed files with 3 additions and 3 deletions

View File

@ -5,9 +5,6 @@
"${inputs.nixpkgs}/nixos/modules/profiles/headless.nix"
];
# Fix for GLIBC errors due to 'scudo' from hardened profile.
# https://github.com/NixOS/nix/issues/6563
environment.memoryAllocator.provider = "libc";
# Disabled by hardened profile, big performance hit.
security.allowSimultaneousMultithreading = true;

View File

@ -6,4 +6,7 @@
];
boot.kernelPackages = pkgs.unstable.linuxPackages_6_6_hardened;
# Fix for GLIBC errors due to 'scudo' from hardened profile.
# https://github.com/NixOS/nix/issues/6563
environment.memoryAllocator.provider = "libc";
}