44 lines
825 B
Nix
44 lines
825 B
Nix
|
{
|
||
|
disko.devices = {
|
||
|
disk = {
|
||
|
a = {
|
||
|
type = "disk";
|
||
|
device = "/dev/sda";
|
||
|
content = {
|
||
|
type = "gpt";
|
||
|
partitions = {
|
||
|
ESP = {
|
||
|
size = "64M";
|
||
|
type = "EF00";
|
||
|
content = {
|
||
|
type = "filesystem";
|
||
|
format = "vfat";
|
||
|
mountpoint = "/boot";
|
||
|
};
|
||
|
};
|
||
|
zfs = {
|
||
|
size = "100%";
|
||
|
content = {
|
||
|
type = "zfs";
|
||
|
pool = "zroot";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
zpool = {
|
||
|
zroot = {
|
||
|
type = "zpool";
|
||
|
rootFsOptions = {
|
||
|
compression = "zstd";
|
||
|
};
|
||
|
mountpoint = "/";
|
||
|
|
||
|
datasets = {
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|