about summary refs log tree commit diff
path: root/machines/x220/disko.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-05 23:23:00 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-05 23:23:00 +0200
commit39ebafe4abb271884e180fbd1b35c0705bae9b88 (patch)
treee65c0bbeda626ab70ffab866c784aeeb149e5873 /machines/x220/disko.nix
parent91432241065a8881bd1bc67c98d00618b85a05f5 (diff)
downloaddots-39ebafe4abb271884e180fbd1b35c0705bae9b88.tar.gz
dots-39ebafe4abb271884e180fbd1b35c0705bae9b88.zip
Working boot on x220
Diffstat (limited to 'machines/x220/disko.nix')
-rw-r--r--machines/x220/disko.nix12
1 files changed, 5 insertions, 7 deletions
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 = {