Fix missing efi and x64 support in template

This commit is contained in:
Qubasa
2024-05-12 19:31:47 +02:00
parent e668a7f536
commit 81522c96e5
2 changed files with 56 additions and 52 deletions

View File

@@ -49,7 +49,7 @@ This process involves preparing a suitable hardware and disk partitioning config
The installer will randomly generate a password and local addresses on boot, then run ssh with these preconfigured. The installer will randomly generate a password and local addresses on boot, then run ssh with these preconfigured.
The installer shows it's deployment relevant information in two formats, a text form, as well as a QR code. The installer shows it's deployment relevant information in two formats, a text form, as well as a QR code.
???example "An example view of a booted installer."
This is an example of the booted installer. This is an example of the booted installer.
```{ .bash .annotate } ```{ .bash .annotate }

View File

@@ -1,4 +1,7 @@
{ lib, ... }:
{ {
boot.loader.grub.efiSupport = lib.mkDefault true;
boot.loader.grub.efiInstallAsRemovable = lib.mkDefault true;
disko.devices = { disko.devices = {
disk = { disk = {
main = { main = {
@@ -11,6 +14,7 @@
boot = { boot = {
size = "1M"; size = "1M";
type = "EF02"; # for grub MBR type = "EF02"; # for grub MBR
priority = 1;
}; };
ESP = { ESP = {
size = "512M"; size = "512M";