dotfiles/nixos/boxes/airnix/disks.nix

44 lines
825 B
Nix
Raw Normal View History

2024-07-17 10:04:10 +01:00
{
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 = {
};
};
};
};
}