{ disko.devices = { disk = { main = { type = "disk"; device = "/dev/nvme0n1"; 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 = "crypt"; settings.allowDiscards = true; content = { type = "btrfs"; extraArgs = ["-f"]; subvolumes = { "@" = { mountpoint = "/"; mountOptions = [ "compress-force=zstd:1" "noatime" "ssd" "discard=async" "space_cache=v2" ]; }; "@home" = { mountpoint = "/home"; mountOptions = [ "compress-force=zstd:1" "noatime" "ssd" "discard=async" "space_cache=v2" ]; }; "@nix" = { mountpoint = "/nix"; mountOptions = [ "compress-force=zstd:1" "noatime" "ssd" "discard=async" "space_cache=v2" ]; }; }; }; }; }; }; }; }; }; }; }