2021-02-20 23:48:52 +00:00
|
|
|
{ lib, ... }:
|
2019-05-06 07:43:35 +01:00
|
|
|
let
|
2021-02-20 23:48:52 +00:00
|
|
|
removed = k: lib.mkRemovedOptionModule [ "security" "rngd" k ];
|
2019-05-06 07:43:35 +01:00
|
|
|
in
|
2012-11-22 07:07:25 +00:00
|
|
|
{
|
2021-02-20 23:48:52 +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.")
|
|
|
|
];
|
2012-11-22 07:07:25 +00:00
|
|
|
}
|