diff --git a/devices/ellaca/default.nix b/devices/ellaca/default.nix index b445794..72471f9 100644 --- a/devices/ellaca/default.nix +++ b/devices/ellaca/default.nix @@ -1,6 +1,5 @@ -{ lib, pkgs, ... }: let - inherit (lib) mkDefault; -in { +{ pkgs, ... }: +{ imports = [ ./options.nix ./disko.nix @@ -15,6 +14,8 @@ in { kernelPackages = pkgs.linuxPackages_zen; loader = { grub = { + devices = [ "/dev/sda1" ]; + useOSProber = true; efiSupport = true; efiInstallAsRemovable = true; }; diff --git a/devices/ellaca/disko.nix b/devices/ellaca/disko.nix index 95520c5..1a00210 100644 --- a/devices/ellaca/disko.nix +++ b/devices/ellaca/disko.nix @@ -7,9 +7,10 @@ content = { type = "gpt"; partitions = { - ESP = { + esp = { priority = 1; name = "BOOT"; + start = "1M"; size = "2G"; type = "EF00"; content = {