Something went wrong. Try again.
forked from nix-community/disko
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110{ disko.devices = { disk = { x = { type = "disk"; device = "/dev/sdx"; content = { type = "gpt"; partitions = { ESP = { size = "64M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "umask=0077" ]; }; }; root = { size = "100%"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; }; }; }; y = { type = "disk"; device = "/dev/sdy"; content = { type = "gpt"; partitions = { zfs = { size = "100%"; content = { type = "zfs"; pool = "storage"; }; }; }; }; }; z = { type = "disk"; device = "/dev/sdz"; content = { type = "gpt"; partitions = { zfs = { size = "100%"; content = { type = "zfs"; pool = "storage"; }; }; }; }; }; a = { type = "disk"; device = "/dev/sda"; content = { type = "gpt"; partitions = { zfs = { size = "100%"; content = { type = "zfs"; pool = "storage2"; }; }; }; }; }; }; zpool = { storage = { type = "zpool"; mode = "mirror"; mountpoint = "/storage";
datasets = { dataset = { type = "zfs_fs"; mountpoint = "/storage/dataset"; }; }; }; storage2 = { type = "zpool"; mountpoint = "/storage2"; rootFsOptions = { canmount = "off"; };
datasets = { dataset = { type = "zfs_fs"; mountpoint = "/storage2/dataset"; }; }; }; }; };}