diff options
| author | Felix Uhl <github@mail.felix-uhl.de> | 2024-09-25 01:07:46 +0200 |
|---|---|---|
| committer | Felix Uhl <github@mail.felix-uhl.de> | 2024-10-11 10:56:02 +0200 |
| commit | 73011ba96fe6dc0574c38b594a72657a5a7e2f39 (patch) | |
| tree | b578c57688eb988261299dc995122664afea26f9 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | f2e5b04c4e53e7a24a0b432cca50c355f867a505 (diff) | |
nixos/systemd-boot: add windows option for easy dual-booting
When installing NixOS on a machine with Windows, the "easiest" solution
to dual-boot is re-using the existing EFI System Partition (ESP), which
allows systemd-boot to detect Windows automatically.
However, if there are multiple ESPs, maybe even on multiple disks,
systemd-boot is unable to detect the other OSes, and you either have to
use Grub and os-prober, or do a tedious manual configuration as
described in the wiki:
https://wiki.nixos.org/w/index.php?title=Dual_Booting_NixOS_and_Windows&redirect=no#EFI_with_multiple_disks
This commit automates and documents this properly so only a single line
like
boot.loader.systemd-boot.windows."10".efiDeviceHandle = "HD0c2";
is required.
In the future, we might want to try automatically detecting this
during installation, but finding the correct device handle while the
kernel is running is tricky.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
