summary refs log tree commit diff
path: root/nixos/modules/profiles/qemu-guest.nix
diff options
context:
space:
mode:
authorrushmorem <rushmore@webenchanter.com>2015-06-17 17:01:31 +0200
committerrushmorem <rushmore@webenchanter.com>2015-06-17 17:28:07 +0200
commitee3768b9ba78fed67c95b8baa67355cd0304fe5c (patch)
treee12eff938656cfc5cfdc1ab2f6351f1234119dee /nixos/modules/profiles/qemu-guest.nix
parentff3972b217132a1e5cbf13d576ba65d500e3fa2b (diff)
downloadnixpkgs-ee3768b9ba78fed67c95b8baa67355cd0304fe5c.tar
nixpkgs-ee3768b9ba78fed67c95b8baa67355cd0304fe5c.tar.gz
nixpkgs-ee3768b9ba78fed67c95b8baa67355cd0304fe5c.tar.bz2
nixpkgs-ee3768b9ba78fed67c95b8baa67355cd0304fe5c.tar.lz
nixpkgs-ee3768b9ba78fed67c95b8baa67355cd0304fe5c.tar.xz
nixpkgs-ee3768b9ba78fed67c95b8baa67355cd0304fe5c.tar.zst
nixpkgs-ee3768b9ba78fed67c95b8baa67355cd0304fe5c.zip
Make it possible to boot NixOS from a SCSI Disk on KVM
Currently NixOS can't boot from a SCSI disk as a KVM Guest.
I found this out while installing it on the new [Linode KVM
platform](https://www.linode.com/docs/platform/kvm#custom-kernel-configuration).
Diffstat (limited to 'nixos/modules/profiles/qemu-guest.nix')
-rw-r--r--nixos/modules/profiles/qemu-guest.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/qemu-guest.nix b/nixos/modules/profiles/qemu-guest.nix
index 79890aa7f17..759fdb7f8e5 100644
--- a/nixos/modules/profiles/qemu-guest.nix
+++ b/nixos/modules/profiles/qemu-guest.nix
@@ -4,7 +4,7 @@
 { config, pkgs, ... }:
 
 {
-  boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "9p" "9pnet_virtio" ];
+  boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" ];
   boot.initrd.kernelModules = [ "virtio_balloon" "virtio_console" "virtio_rng" ];
 
   boot.initrd.postDeviceCommands =