git.iko.soy/typeable/nixpkgs
on master help sign in
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).

commitee3768b9ba78fed67c95b8baa67355cd0304fe5c authorrushmorem <rushmore@webenchanter.com> dateWed 17 Jun 2015, 17:01 (11 years ago) parentff3972b
1 file changed+1−1
nixos/modules/profiles/qemu-guest.nix+1−1
nixos/modules/profiles/qemu-guest.nix+1−1
@@ -4,7 +4,7 @@
44{ config, pkgs, ... }:
55
66{
7− boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "9p" "9pnet_virtio" ];
7+ boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" ];
88 boot.initrd.kernelModules = [ "virtio_balloon" "virtio_console" "virtio_rng" ];
99
1010 boot.initrd.postDeviceCommands =