mention performance loss with hardened kernel profile

This commit is contained in:
Erik Arvstedt 2020-02-26 17:11:21 +01:00 committed by Jonas Nick
parent f3121892ef
commit 0c74c365de
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -6,10 +6,11 @@
imports = [ imports = [
<nix-bitcoin/modules/nix-bitcoin.nix> <nix-bitcoin/modules/nix-bitcoin.nix>
# Use hardened kernel profile. See # FIXME: The hardened kernel profile improves security but
# https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix # decreases performance by ~50%.
# for the enabled options. # Turn it off when not needed.
<nixpkgs/nixos/modules/profiles/hardened.nix> # Source: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix
<nixpkgs/nixos/modules/profiles/hardened.nix>
# FIXME: Uncomment next line to import your hardware configuration. If so, # FIXME: Uncomment next line to import your hardware configuration. If so,
# add the hardware configuration file to the same directory as this file. # add the hardware configuration file to the same directory as this file.