| In case anyone is interested or looking for help, I ended up going with this config for now. `# vda 20GB: Root - NixOS
vdb 50GB: Backup RAID-0
vdc 50GB: Backup RAID-0
{ disko.devices = { disk = { vda = { type = "disk"; device = "/dev/vda"; content = { type = "gpt"; partitions = { ESP = { size = "1024M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountOptions = [ "defaults" ]; mountpoint = "/boot"; }; }; zfs = { size = "100%"; content = { type = "zfs"; pool = "zroot"; }; }; }; }; }; vdb = { type = "disk"; device = "/dev/vdb"; content = { type = "zfs"; pool = "tank"; }; }; vdc = { type = "disk"; device = "/dev/vdc"; content = { type = "zfs"; pool = "tank"; }; }; }; zpool = { zroot = { type = "zpool"; options.cachefile = "none"; rootFsOptions = { compression = "lz4"; "com.sun:auto-snapshot" = "false"; }; mountpoint = "/"; datasets = { "home" = { type = "zfs_fs"; mountpoint = "/home"; }; "nix" = { type = "zfs_fs"; mountpoint = "/nix"; }; "var" = { type = "zfs_fs"; mountpoint = "/var"; }; }; }; tank = { type = "zpool"; mode = "mirror"; mountpoint = "/tank"; datasets = { data = { type = "zfs_fs"; mountpoint = "/tank/data"; }; }; }; }; }; fileSystems."/boot".neededForBoot = true; } `
|