diff options
Diffstat (limited to 'system-profiles/qemu-guest.nix')
-rw-r--r-- | system-profiles/qemu-guest.nix | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/system-profiles/qemu-guest.nix b/system-profiles/qemu-guest.nix index 8c07ca55..8654eba0 100644 --- a/system-profiles/qemu-guest.nix +++ b/system-profiles/qemu-guest.nix | |||
@@ -3,14 +3,6 @@ | |||
3 | config = { | 3 | config = { |
4 | boot.initrd = { | 4 | boot.initrd = { |
5 | kernelModules = [ "virtio_net" "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" "virtio_balloon" "virtio_console" "virtio_rng" ]; | 5 | kernelModules = [ "virtio_net" "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" "virtio_balloon" "virtio_console" "virtio_rng" ]; |
6 | |||
7 | postDeviceCommands = | ||
8 | '' | ||
9 | # Set the system time from the hardware clock to work around a | ||
10 | # bug in qemu-kvm > 1.5.2 (where the VM clock is initialised | ||
11 | # to the *boot time* of the host). | ||
12 | hwclock -s | ||
13 | ''; | ||
14 | }; | 6 | }; |
15 | 7 | ||
16 | services.qemuGuest.enable = true; | 8 | services.qemuGuest.enable = true; |