summary refs log tree commit diff
path: root/nixos/modules/profiles/qemu-guest.nix
diff options
context:
space:
mode:
authorErik Arvstedt <erik.arvstedt@gmail.com>2021-01-06 03:44:26 +0100
committerMatthieu Coudron <teto@users.noreply.github.com>2021-01-27 18:27:34 +0100
commit0b5fd3b7847445f3683ff60c8b896a7f2adc3b0e (patch)
tree7e05d241d67d54ac4db843b47c16e93a352458fb /nixos/modules/profiles/qemu-guest.nix
parent71e471636a0ff9d5467341867f7c25da22fcc726 (diff)
downloadnixpkgs-0b5fd3b7847445f3683ff60c8b896a7f2adc3b0e.tar
nixpkgs-0b5fd3b7847445f3683ff60c8b896a7f2adc3b0e.tar.gz
nixpkgs-0b5fd3b7847445f3683ff60c8b896a7f2adc3b0e.tar.bz2
nixpkgs-0b5fd3b7847445f3683ff60c8b896a7f2adc3b0e.tar.lz
nixpkgs-0b5fd3b7847445f3683ff60c8b896a7f2adc3b0e.tar.xz
nixpkgs-0b5fd3b7847445f3683ff60c8b896a7f2adc3b0e.tar.zst
nixpkgs-0b5fd3b7847445f3683ff60c8b896a7f2adc3b0e.zip
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.
Diffstat (limited to 'nixos/modules/profiles/qemu-guest.nix')
-rw-r--r--nixos/modules/profiles/qemu-guest.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/profiles/qemu-guest.nix b/nixos/modules/profiles/qemu-guest.nix
index 0ea70107f71..d4335edfcf2 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" ];
@@ -14,6 +14,4 @@
       # to the *boot time* of the host).
       hwclock -s
     '';
-
-  security.rngd.enable = lib.mkDefault false;
 }