1{ lib, ... }:
2let
3 removed =
4 k:
5 lib.mkRemovedOptionModule [
6 "security"
7 "rngd"
8 k
9 ];
10in
11{
12 imports = [
13 (removed "enable" ''
14 rngd is not necessary for any device that the kernel recognises
15 as an hardware RNG, as it will automatically run the krngd task
16 to periodically collect random data from the device and mix it
17 into the kernel's RNG.
18 '')
19 (removed "debug" "The rngd module was removed, so its debug option does nothing.")
20 ];
21}