git.iko.soy/typeable/nixpkgs
on master help sign in
kernel: RANDOM_TRUST_CPU for >= 4.19
commitecce29eba2206e4fc8db91c61d5e6272583ece9e authorTim Steinbach <tim@nequissimus.com> dateMon 8 Mar 2021, 11:49 (6 years ago) parent7a44b04
1 file changed+1−1
pkgs/os-specific/linux/kernel/common-config.nix+1−1
pkgs/os-specific/linux/kernel/common-config.nix+1−1
@@ -435,7 +435,7 @@ let
435435 SECURITY_APPARMOR = yes;
436436 DEFAULT_SECURITY_APPARMOR = yes;
437437
438− RANDOM_TRUST_CPU = yes; # allow RDRAND to seed the RNG
438+ RANDOM_TRUST_CPU = whenAtLeast "4.19" yes; # allow RDRAND to seed the RNG
439439
440440 MODULE_SIG = no; # r13y, generates a random key during build and bakes it in
441441 # Depends on MODULE_SIG and only really helps when you sign your modules