feat(attic): remove ESP partition and enable GRUB for legacy boot
- Remove the ESP partition configuration in `disko.nix` as it’s unnecessary for legacy BIOS setups. - Enable GRUB bootloader and disable EFI settings in `default.nix` for compatibility with Hetzner cloud instances.
This commit is contained in:
parent
8c1eadf474
commit
f2cc004192
2 changed files with 6 additions and 9 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
|
@ -23,6 +24,11 @@
|
|||
podman.dockerCompat = false;
|
||||
};
|
||||
|
||||
# Legacy BIOS boot (Hetzner cloud instance)
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
|
||||
boot.loader.grub.enable = true;
|
||||
|
||||
security.tpm2.enable = false;
|
||||
security.tpm2.abrmd.enable = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,15 +16,6 @@
|
|||
size = "1M";
|
||||
type = "EF02"; # for grub MBR
|
||||
};
|
||||
ESP = {
|
||||
size = "1G";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
};
|
||||
};
|
||||
root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue