diff options
author | Rushmore Mushambi <rushmore@webenchanter.com> | 2015-06-17 19:31:32 +0200 |
---|---|---|
committer | Rushmore Mushambi <rushmore@webenchanter.com> | 2015-06-17 19:31:32 +0200 |
commit | 911403c9e5833f52d04777bb9eaf66e727cca554 (patch) | |
tree | bd18eb7cd4367f37df23e9d5cb961b97289646b9 /nixos | |
parent | bc7f28f19abc86ddf266ecc73411ab83571119de (diff) | |
parent | d9c56c696f2b05571a6b9b8db1f7e0d83081e852 (diff) | |
download | nixlib-911403c9e5833f52d04777bb9eaf66e727cca554.tar nixlib-911403c9e5833f52d04777bb9eaf66e727cca554.tar.gz nixlib-911403c9e5833f52d04777bb9eaf66e727cca554.tar.bz2 nixlib-911403c9e5833f52d04777bb9eaf66e727cca554.tar.lz nixlib-911403c9e5833f52d04777bb9eaf66e727cca554.tar.xz nixlib-911403c9e5833f52d04777bb9eaf66e727cca554.tar.zst nixlib-911403c9e5833f52d04777bb9eaf66e727cca554.zip |
Merge pull request #8372 from rushmorem/virtio-scsi
Make it possible to boot NixOS from a SCSI Disk on KVM (Qemu and All Hardware)
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/profiles/all-hardware.nix | 2 | ||||
-rw-r--r-- | nixos/modules/profiles/qemu-guest.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/profiles/all-hardware.nix b/nixos/modules/profiles/all-hardware.nix index 6385ee69500f..99b45228ce4d 100644 --- a/nixos/modules/profiles/all-hardware.nix +++ b/nixos/modules/profiles/all-hardware.nix @@ -40,7 +40,7 @@ "ohci1394" "sbp2" # Virtio (QEMU, KVM etc.) support. - "virtio_net" "virtio_pci" "virtio_blk" "virtio_balloon" "virtio_console" + "virtio_net" "virtio_pci" "virtio_blk" "virtio_scsi" "virtio_balloon" "virtio_console" # Keyboards "usbhid" "hid_apple" "hid_logitech_dj" "hid_lenovo_tpkbd" "hid_roccat" diff --git a/nixos/modules/profiles/qemu-guest.nix b/nixos/modules/profiles/qemu-guest.nix index 79890aa7f17c..759fdb7f8e5f 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 = |