diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-15 19:21:51 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-15 19:21:51 +0200 |
commit | 4ab2a5cb512cfdda47e67ed54a8f1f283c32999b (patch) | |
tree | 3e299d9eece97e2d6337f7db6fe780d7890079ef | |
parent | 9cbfba69a5e5ca5a2843a8dfd2b7c5287cb97aeb (diff) | |
download | nixos-4ab2a5cb512cfdda47e67ed54a8f1f283c32999b.tar nixos-4ab2a5cb512cfdda47e67ed54a8f1f283c32999b.tar.gz nixos-4ab2a5cb512cfdda47e67ed54a8f1f283c32999b.tar.bz2 nixos-4ab2a5cb512cfdda47e67ed54a8f1f283c32999b.tar.xz nixos-4ab2a5cb512cfdda47e67ed54a8f1f283c32999b.zip |
qemu-quest: ...
-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; |