host: use libc provider for each host
This commit is contained in:
parent
52f409c4ce
commit
063ade0bc8
2 changed files with 3 additions and 3 deletions
|
@ -5,9 +5,6 @@
|
||||||
"${inputs.nixpkgs}/nixos/modules/profiles/headless.nix"
|
"${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.
|
# Disabled by hardened profile, big performance hit.
|
||||||
security.allowSimultaneousMultithreading = true;
|
security.allowSimultaneousMultithreading = true;
|
||||||
|
|
||||||
|
|
|
@ -6,4 +6,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.unstable.linuxPackages_6_6_hardened;
|
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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue