From 0c74c365de8cb5df3b9f8433d5e9baecc8df1aac Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Wed, 26 Feb 2020 17:11:21 +0100 Subject: [PATCH] mention performance loss with hardened kernel profile --- examples/configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/configuration.nix b/examples/configuration.nix index 89a2ef4..85bd665 100644 --- a/examples/configuration.nix +++ b/examples/configuration.nix @@ -6,10 +6,11 @@ imports = [ - # Use hardened kernel profile. See - # https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix - # for the enabled options. - + # FIXME: The hardened kernel profile improves security but + # decreases performance by ~50%. + # Turn it off when not needed. + # Source: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix + # FIXME: Uncomment next line to import your hardware configuration. If so, # add the hardware configuration file to the same directory as this file.