summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2014-05-25 21:37:02 +0200
committerLuca Bruno <lethalman88@gmail.com>2014-05-25 21:37:02 +0200
commitb0234f216ccf71013daf8e4e8b8bcfc4044d36cf (patch)
treeb2223f880768e93b86f01cf6ac73f6b18ac1769e /nixos/modules
parent97af2620c7db6603f0c5d8b49638f46345cf1352 (diff)
downloadnixlib-b0234f216ccf71013daf8e4e8b8bcfc4044d36cf.tar
nixlib-b0234f216ccf71013daf8e4e8b8bcfc4044d36cf.tar.gz
nixlib-b0234f216ccf71013daf8e4e8b8bcfc4044d36cf.tar.bz2
nixlib-b0234f216ccf71013daf8e4e8b8bcfc4044d36cf.tar.lz
nixlib-b0234f216ccf71013daf8e4e8b8bcfc4044d36cf.tar.xz
nixlib-b0234f216ccf71013daf8e4e8b8bcfc4044d36cf.tar.zst
nixlib-b0234f216ccf71013daf8e4e8b8bcfc4044d36cf.zip
Fix passing extra qemu opts when using boot loader
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/virtualisation/qemu-vm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix
index 323f1bfc57e0..bccf6583e47d 100644
--- a/nixos/modules/virtualisation/qemu-vm.nix
+++ b/nixos/modules/virtualisation/qemu-vm.nix
@@ -65,7 +65,7 @@ let
           ${if cfg.useBootLoader then ''
             -drive index=0,id=drive1,file=$NIX_DISK_IMAGE,if=virtio,cache=writeback,werror=report \
             -drive index=1,id=drive2,file=${bootDisk}/disk.img,if=virtio,readonly \
-            -boot menu=on
+            -boot menu=on \
           '' else ''
             -drive file=$NIX_DISK_IMAGE,if=virtio,cache=writeback,werror=report \
             -kernel ${config.system.build.toplevel}/kernel \