mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-23 23:02:38 +03:00
15 lines
410 B
Nix
15 lines
410 B
Nix
{
|
|
imports = [
|
|
# Source: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix
|
|
<nixpkgs/nixos/modules/profiles/hardened.nix>
|
|
];
|
|
|
|
## Reset some options set by the hardened profile
|
|
|
|
# Needed for sandboxed builds and services
|
|
security.allowUserNamespaces = true;
|
|
|
|
# The "scudo" allocator is broken on NixOS >= 20.09
|
|
environment.memoryAllocator.provider = "libc";
|
|
}
|