_: { disko.devices = { disk = { main = { device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLB512HBJQ-000L2_S4DYNF0M893481"; type = "disk"; content = { type = "gpt"; partitions = { boot = { name = "boot"; size = "1M"; type = "EF02"; }; ESP = { size = "1G"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = ["defaults"]; }; }; windows = { size = "150G"; type = "0700"; # for Microsoft basic data content = { type = "filesystem"; format = "ntfs"; }; }; luks = { size = "100%"; content = { type = "luks"; name = "crypted"; # Copied by deploy script, otherwise it will prompt for password passwordFile = "/luks-password"; settings = { allowDiscards = true; bypassWorkqueues = true; }; content = { type = "btrfs"; extraArgs = ["-f"]; subvolumes = { "@" = { mountpoint = "/"; mountOptions = ["compress=zstd" "noatime"]; }; "@nix" = { mountpoint = "/nix"; mountOptions = ["compress=zstd" "noatime"]; }; "@home" = { mountpoint = "/home"; mountOptions = ["compress=zstd" "noatime"]; }; }; }; }; }; }; }; }; }; }; }