diff options
author | Matthieu Coudron <mattator@gmail.com> | 2019-09-17 20:43:16 +0900 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2019-09-18 00:35:04 +0900 |
commit | c27360ae47a76fe8de6a23a21e19e3d85e13dc0c (patch) | |
tree | bc0463ce05260b6387ce9cf69d6cb268e764649c /nixos/modules/profiles | |
parent | e19054ab3cd5b7cc9a01d0efc71c8fe310541065 (diff) |
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.
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r-- | nixos/modules/profiles/qemu-guest.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/profiles/qemu-guest.nix b/nixos/modules/profiles/qemu-guest.nix index 315d04093b13..0ea70107f717 100644 --- a/nixos/modules/profiles/qemu-guest.nix +++ b/nixos/modules/profiles/qemu-guest.nix @@ -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; } |