nixpkgs/nixos/modules
Niklas Hambüchen 5b16d4c9ce qemu-vm.nix: Fix device name hardcodes on useBootLoader.
boot.loader.grub.device` was hardcoded to `bootDevice`, which is
wrong, because that's the device for `/`, and with `useBootLoader`
the boot loader is not on that device.

This bug probably came into existence because of bad naming;
`virtualisation.bootDevice` has description
"The disk to be used for the root filesystem", which is very confusing;
it should be `.rootDevice` then!
Unfortunately, the description is right and the attribute name is wrong,
so it is not easy to change this without deprecation.

This commit ensures that even if you use `useBootLoader` and
`diskInterface == "scsi"`, the created VM can boot through, and can run
`nixos-rebuild afterwards.

It also adds extra commentary to explain what's going on in this module
in general in relation to `useBootLoader`.
2020-07-04 14:47:36 +02:00
..
config small treewide: his -> theirs/its 2020-06-23 16:49:50 +02:00
hardware hardware.deviceTree: add name 2020-06-21 13:48:22 +02:00
i18n/input-method Revert "ibus: fix dconf db installation" 2020-04-24 18:22:59 -04:00
installer Merge pull request #91195 from flokli/extlinux-conf-builder-dtbname 2020-06-23 18:07:31 +02:00
misc nixos/documentation: add option to generate caches 2020-06-18 10:17:04 +02:00
profiles Merge pull request #74378 from ttuegel/lxc-container 2020-04-25 16:25:15 +02:00
programs nixos/fish: enable man cache generation 2020-06-29 22:28:32 +02:00
security nixos/sudo: default rule should be first 2020-06-17 17:48:51 -07:00
services nixos/openldap: add option for configuring OpenLDAP package to use 2020-07-01 20:49:04 +01:00
system Merge pull request #91344 from ElvishJerricco/zfs-encryption-systemd-ask-password 2020-07-02 14:15:18 -04:00
tasks Merge pull request #92092 from ElvishJerricco/zfs-encryption-systemd-ask-password 2020-07-02 17:25:53 -04:00
testing
virtualisation qemu-vm.nix: Fix device name hardcodes on useBootLoader. 2020-07-04 14:47:36 +02:00
module-list.nix Merge pull request #91497 from 1000101/blockbook 2020-06-26 21:17:36 +02:00
rename.nix hardware/u2f: remove module 2020-06-14 15:13:31 +02:00