{ disko.devices.disk = { boot1 = { content = { partitions = { efi = { content = { format = "vfat"; mountOptions = [ "umask=0077" ]; mountpoint = "/boot"; type = "filesystem"; }; size = "512M"; type = "EF00"; }; # the root partition is set up in boot2 root.size = "100%"; }; type = "gpt"; }; device = "/dev/sda"; type = "disk"; }; boot2 = { content = { partitions = { efi = { content = { format = "vfat"; mountOptions = [ "umask=0077" ]; #mountpoint = "/boot"; type = "filesystem"; }; size = "512M"; type = "EF00"; }; root = { content = { extraArgs = [ "-f" "-d raid1" "/dev/sda2" ]; subvolumes = { "/nix" = { mountOptions = [ "compress=zstd" "noatime" ]; mountpoint = "/nix"; }; "/root" = { mountpoint = "/"; mountOptions = [ "noatime" ]; }; }; type = "btrfs"; }; size = "100%"; }; }; type = "gpt"; }; device = "/dev/sdb"; type = "disk"; }; mass-storage = { content = { partitions.data = { content = { extraArgs = [ "-f" ]; subvolumes."/data" = { mountOptions = [ "noatime" ]; mountpoint = "/mnt/data"; }; type = "btrfs"; }; size = "100%"; }; type = "gpt"; }; device = "/dev/sdc"; type = "disk"; }; }; }