cherry disko configuration update

This commit is contained in:
Ingolf Wagner 2024-03-03 17:42:49 +01:00
parent da6dc4857b
commit b9b71ff821
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -1,4 +1,3 @@
{ config, lib, ... }:
{ {
# disko configuration # disko configuration
@ -9,25 +8,22 @@
type = "disk"; type = "disk";
device = "/dev/nvme0n1"; device = "/dev/nvme0n1";
content = { content = {
type = "table"; type = "gpt";
format = "gpt"; partitions = {
partitions = [ boot = {
{ priority = 1;
name = "ESP"; size = "500M";
start = "0"; type = "EF00";
end = "500MiB";
bootable = true;
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
mountpoint = "/boot"; mountpoint = "/boot";
mountOptions = [ "defaults" ]; mountOptions = [ "defaults" ];
}; };
} };
{ root = {
name = "zfs"; priority = 100;
start = "500MiB"; size = "100%";
end = "100%";
content = { content = {
type = "luks"; type = "luks";
name = "root"; name = "root";
@ -38,8 +34,8 @@
pool = "zroot"; pool = "zroot";
}; };
}; };
} };
]; };
}; };
}; };
}; };