nixos/rngd: remove file, move warning to rename.nix
This commit is contained in:
@@ -397,7 +397,6 @@
|
||||
./security/pam_mount.nix
|
||||
./security/please.nix
|
||||
./security/polkit.nix
|
||||
./security/rngd.nix
|
||||
./security/rtkit.nix
|
||||
./security/soteria.nix
|
||||
./security/sudo-rs.nix
|
||||
|
||||
@@ -411,6 +411,12 @@ in
|
||||
(mkRemovedOptionModule [ "services" "simplesamlphp" ] ''
|
||||
services.simplesamlphp has been vulnerable and unmaintained in nixpkgs.
|
||||
'')
|
||||
(mkRemovedOptionModule [ "security" "rngd" ] ''
|
||||
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.
|
||||
'')
|
||||
# Do NOT add any option renames here, see top of the file
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
{ 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.")
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user