1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

qemu-guest: allow to override security.rngd

... otherwise enabling it causes a merge conflict.

Enabling it was necessary to give enough entropy for the sshd daemon in
my libvirt/nixops VM to generate keys see
https://github.com/NixOS/nixops/issues/1199.
This commit is contained in:
Matthieu Coudron 2019-09-17 20:43:16 +09:00
parent e19054ab3c
commit c27360ae47

View file

@ -1,7 +1,7 @@
# Common configuration for virtual machines running under QEMU (using
# virtio).
{ ... }:
{ lib, ... }:
{
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" ];
@ -15,5 +15,5 @@
hwclock -s
'';
security.rngd.enable = false;
security.rngd.enable = lib.mkDefault false;
}