clan-cli: Fix disko template to not fail because of missing bootloader.

This commit is contained in:
Qubasa
2025-02-10 12:38:04 +07:00
parent db1127a9b3
commit 8baff4637e
2 changed files with 15 additions and 1 deletions

View File

@@ -1,4 +1,8 @@
{
boot.loader.grub.efiSupport = true;
boot.loader.grub.efiInstallAsRemovable = true;
boot.loader.grub.enable = true;
disko.devices = {
disk = {
main = {
@@ -8,6 +12,11 @@
content = {
type = "gpt";
partitions = {
"boot" = {
size = "1M";
type = "EF02"; # for grub MBR
priority = 1;
};
ESP = {
type = "EF00";
size = "500M";