{ mainDisk, ... }: { disk.main = { device = mainDisk; type = "disk"; content = { type = "gpt"; partitions = { MBR = { size = "1M"; type = "EF02"; }; root = { size = "100%"; content = { type = "btrfs"; extraArgs = [ "-f" ]; subvolumes = { "@root" = { mountpoint = "/"; }; "@nix" = { mountpoint = "/nix"; }; "@var" = { mountpoint = "/var"; }; "@docker" = { mountpoint = "/var/lib/docker"; }; "@home" = { mountpoint = "/home"; }; "@snapshots" = { mountpoint = "/.snapshots"; }; }; }; }; }; }; }; }