This commit is contained in:
jeirmeister 2025-09-12 14:42:06 -07:00
parent 544c72b7b2
commit ce41d1ef4e

View file

@ -45,7 +45,13 @@
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {
bios_boot = {
size = "2MiB";
type = "EF02"; # BIOS boot partition (unformatted)
content = null; # No filesystem
};
ESP = { ESP = {
# Optional for hybrid, but harmless
size = "512M"; size = "512M";
type = "EF00"; type = "EF00";
content = { content = {
@ -54,7 +60,6 @@
mountpoint = "/boot"; mountpoint = "/boot";
}; };
}; };
root = { root = {
size = "100%"; size = "100%";
content = { content = {
@ -102,16 +107,12 @@
}; };
}; };
}; };
boot.loader = { boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = { grub = {
enable = true; enable = true;
device = "nodev"; # For UEFI; installs to ESP device = "/dev/sda"; # Install only on sda (avoids sdb)
efiSupport = true; useOSProber = false; # Don't scan other disks
useOSProber = false; # Avoid scanning sdb
}; };
}; };