Fix disko

This commit is contained in:
Invariantspace 2024-01-12 22:38:33 +08:00
parent 36e509ee4c
commit 1f2f58c977
2 changed files with 8 additions and 10 deletions

View file

@ -2,15 +2,14 @@
disko.devices = { disko.devices = {
# Partition the physical disk # Partition the physical disk
disk.storage = { disk.storage = {
type = "disk";
device = "/dev/nvme0n1"; device = "/dev/nvme0n1";
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {
ESP = { esp = {
start = "2MiB"; label = "esp";
end = "2GiB"; size = "2G";
type = "EF00"; type = "ef00";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";

View file

@ -2,15 +2,14 @@
disko.devices = { disko.devices = {
# Partition the physical disk # Partition the physical disk
disk.storage = { disk.storage = {
type = "disk";
device = "/dev/nvme0n1"; device = "/dev/nvme0n1";
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {
ESP = { esp = {
start = "1MiB"; label = "esp";
end = "1GiB"; size = "1G";
type = "EF00"; type = "ef00";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";