From 1f2f58c977a5a06180f8d1e6c8bf2bc8205f8bee Mon Sep 17 00:00:00 2001 From: macronova Date: Fri, 12 Jan 2024 22:38:33 +0800 Subject: [PATCH] Fix disko --- linux/blitzar/disko.nix | 9 ++++----- linux/nebula/disko.nix | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/linux/blitzar/disko.nix b/linux/blitzar/disko.nix index fd91741..f1d73f3 100644 --- a/linux/blitzar/disko.nix +++ b/linux/blitzar/disko.nix @@ -2,15 +2,14 @@ disko.devices = { # Partition the physical disk disk.storage = { - type = "disk"; device = "/dev/nvme0n1"; content = { type = "gpt"; partitions = { - ESP = { - start = "2MiB"; - end = "2GiB"; - type = "EF00"; + esp = { + label = "esp"; + size = "2G"; + type = "ef00"; content = { type = "filesystem"; format = "vfat"; diff --git a/linux/nebula/disko.nix b/linux/nebula/disko.nix index ded3383..58a922e 100644 --- a/linux/nebula/disko.nix +++ b/linux/nebula/disko.nix @@ -2,15 +2,14 @@ disko.devices = { # Partition the physical disk disk.storage = { - type = "disk"; device = "/dev/nvme0n1"; content = { type = "gpt"; partitions = { - ESP = { - start = "1MiB"; - end = "1GiB"; - type = "EF00"; + esp = { + label = "esp"; + size = "1G"; + type = "ef00"; content = { type = "filesystem"; format = "vfat";