2021-02-22 21:28:39 +00:00
|
|
|
{ lib, ... }:
|
2020-04-24 23:36:52 +00:00
|
|
|
let
|
2021-02-22 21:28:39 +00:00
|
|
|
removed = k: lib.mkRemovedOptionModule [ "security" "rngd" k ];
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
|
|
|
{
|
2021-02-22 21:28:39 +00:00
|
|
|
imports = [
|
|
|
|
(removed "enable" ''
|
|
|
|
rngd is not necessary for any device that the kernel recognises
|
|
|
|
as an hardware RNG, as it will automatically run the krngd task
|
|
|
|
to periodically collect random data from the device and mix it
|
|
|
|
into the kernel's RNG.
|
|
|
|
'')
|
|
|
|
(removed "debug"
|
|
|
|
"The rngd module was removed, so its debug option does nothing.")
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|