{ disko.devices.disk.main = { type = "disk"; device = "/dev/disk/by-id/ata-Vi550_S3_4935445284600580"; content = { type = "gpt"; partitions = { ESP = { size = "1G"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "umask=0077" ]; }; }; luks = { size = "100%"; content = { type = "luks"; name = "cryptroot"; settings = { allowDiscards = true; }; content = { type = "btrfs"; subvolumes = { "/@nix" = { mountpoint = "/nix"; mountOptions = [ "compress=zstd" "noatime" ]; }; "/@persist" = { mountpoint = "/persist"; mountOptions = [ "compress=zstd" "noatime" ]; }; }; }; }; }; }; }; }; }