{ ... }: { disko.devices = { disk = { main = { type = "disk"; device = "/dev/disk/by-id/nvme-WD_BLACK_SN850X_4000GB_25115L4A0708"; content = { type = "gpt"; partitions = { ESP = { size = "500M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; zfs = { size = "100%"; content = { type = "zfs"; pool = "rpool"; }; }; }; }; }; }; zpool = { rpool = { type = "zpool"; options = { ashift = "12"; }; rootFsOptions = { compression = "zstd"; acltype = "posix"; atime = "off"; xattr = "sa"; dnodesize = "auto"; mountpoint = "none"; canmount = "off"; devices = "off"; exec = "off"; setuid = "off"; }; datasets = { "local" = { type = "zfs_fs"; }; "local/root" = { type = "zfs_fs"; mountpoint = "/"; options = { canmount = "noauto"; mountpoint = "/"; exec = "on"; setuid = "on"; }; postCreateHook = "zfs snapshot rpool/local/root@blank"; }; "local/nix" = { type = "zfs_fs"; mountpoint = "/nix"; options = { canmount = "noauto"; mountpoint = "/nix"; exec = "on"; setuid = "on"; }; }; "local/state" = { type = "zfs_fs"; mountpoint = "/state"; options = { canmount = "noauto"; mountpoint = "/state"; }; }; "safe" = { type = "zfs_fs"; }; "safe/persist" = { type = "zfs_fs"; mountpoint = "/persist"; options = { canmount = "noauto"; mountpoint = "/persist"; }; }; }; }; }; }; }