add osprober to grub
All checks were successful
nixos config pipeline / show-flake (push) Successful in 27s
nixos config pipeline / deploy (push) Successful in 39s

This commit is contained in:
smayzy 2025-09-28 08:56:44 +02:00
parent 1a51b5a9c2
commit 0ec6a7dbbe

View File

@ -19,6 +19,7 @@ with lib;
boot.loader.systemd-boot.enable = false; boot.loader.systemd-boot.enable = false;
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
boot.loader.grub.efiSupport = true; boot.loader.grub.efiSupport = true;
boot.loader.grub.useOSProber = true;
boot.loader.grub.device = "nodev"; boot.loader.grub.device = "nodev";
boot.loader.grub.efiInstallAsRemovable = config.smayzy.grub-on-lap.enable; boot.loader.grub.efiInstallAsRemovable = config.smayzy.grub-on-lap.enable;