fix: set canTouchEfiVariables=false for GRUB efiInstallAsRemovable
This commit is contained in:
@@ -3,12 +3,12 @@
|
|||||||
{
|
{
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
|
|
||||||
# Try UEFI first, fall back to GRUB for legacy BIOS
|
# Dual bootloader: systemd-boot for UEFI, GRUB fallback for legacy/CSM
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = false;
|
||||||
|
|
||||||
# GRUB as fallback for legacy/CSM boot
|
# GRUB EFI fallback at removable media path
|
||||||
grub = {
|
grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
device = "nodev";
|
device = "nodev";
|
||||||
|
|||||||
Reference in New Issue
Block a user