From 39ebafe4abb271884e180fbd1b35c0705bae9b88 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 5 Oct 2024 23:23:00 +0200 Subject: Working boot on x220 --- machines/x220/disko.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'machines/x220/disko.nix') diff --git a/machines/x220/disko.nix b/machines/x220/disko.nix index 714cafa..c8f4ae4 100644 --- a/machines/x220/disko.nix +++ b/machines/x220/disko.nix @@ -9,19 +9,17 @@ content = { type = "gpt"; partitions = { - boot = { - name = "boot"; - size = "1M"; - type = "EF02"; - }; - esp = { + ESP = { + priority = 1; name = "ESP"; - size = "500M"; + start = "1M"; + end = "256M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; }; swap = { -- cgit 1.4.1