mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
39383a8494
Per @shlevy's request on #96092.
16 lines
478 B
Nix
16 lines
478 B
Nix
{ lib, ... }:
|
|
let
|
|
removed = k: lib.mkRemovedOptionModule [ "security" "rngd" k ];
|
|
in
|
|
{
|
|
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.")
|
|
];
|
|
}
|