{ disko.devices = { disk = { vdb = { type = "disk"; device = "/dev/sda"; content = { type = "gpt"; partitions = { ESP = { priority = 1; name = "ESP"; start = "1M"; end = "128M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "umask=0077" ]; }; }; root = { size = "100%"; content = { type = "btrfs"; extraArgs = [ "-f" ]; # Override existing partition # Subvolumes must set a mountpoint in order to be mounted, # unless their parent is mounted mountpoint = "/"; mountOptions = [ "compress=zstd" "noatime" ]; }; }; }; }; }; }; disk1 = { vdb = { type = "disk"; device = "/dev/nvme0n1"; content = { type = "gpt"; partitions = { root = { size = "100%"; content = { type = "btrfs"; extraArgs = [ "-f" ]; # Override existing partition # Subvolumes must set a mountpoint in order to be mounted, # unless their parent is mounted mountpoint = "/mnt/data"; mountOptions = [ "compress=zstd" "noatime" ]; }; }; }; }; }; }; }; }