diff options
Diffstat (limited to 'nixpkgs/nixos/modules/security/rngd.nix')
-rw-r--r-- | nixpkgs/nixos/modules/security/rngd.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nixpkgs/nixos/modules/security/rngd.nix b/nixpkgs/nixos/modules/security/rngd.nix new file mode 100644 index 000000000000..8cca1c26d683 --- /dev/null +++ b/nixpkgs/nixos/modules/security/rngd.nix @@ -0,0 +1,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.") + ]; +} |