mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
qemu-guest: remove security.rngd setting
Since release 20.09 `rngd.enable` defaults to false, so this setting is redundant. Also fix the `qemu-quest` section of the manual that incorrectly claimed that `rngd` was enabled.
This commit is contained in:
parent
71e471636a
commit
0b5fd3b784
@ -11,8 +11,7 @@
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
It makes virtio modules available on the initrd, sets the system time from
|
It makes virtio modules available on the initrd and sets the system time from
|
||||||
the hardware clock to work around a bug in qemu-kvm, and
|
the hardware clock to work around a bug in qemu-kvm.
|
||||||
<link linkend="opt-security.rngd.enable">enables rngd</link>.
|
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Common configuration for virtual machines running under QEMU (using
|
# Common configuration for virtual machines running under QEMU (using
|
||||||
# virtio).
|
# virtio).
|
||||||
|
|
||||||
{ lib, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" ];
|
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" ];
|
||||||
@ -14,6 +14,4 @@
|
|||||||
# to the *boot time* of the host).
|
# to the *boot time* of the host).
|
||||||
hwclock -s
|
hwclock -s
|
||||||
'';
|
'';
|
||||||
|
|
||||||
security.rngd.enable = lib.mkDefault false;
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user