cherry disko configuration update
This commit is contained in:
parent
da6dc4857b
commit
b9b71ff821
1 changed files with 12 additions and 16 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue