summary refs log tree commit diff
path: root/nixos/modules/security/rngd.nix
blob: 8cca1c26d683a21783426530e21601d81c7998c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ 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.")
  ];
}