{ disko.devices = { disk = { nvme0n1 = { type = "disk"; device = "/dev/nvme0n1"; content = { type = "gpt"; partitions = { boot = { name = "boot"; size = "1M"; type = "EF02"; }; ESP = { priority = 1; size = "1G"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "defaults" "umask=0077" ]; extraArgs = [ "-n" "BOOT" ]; }; }; lvm = { size = "100%"; content = { type = "lvm_pv"; vg = "pool"; }; }; }; }; }; nvme1n1 = { type = "disk"; device = "/dev/nvme1n1"; content = { type = "gpt"; partitions = { primary = { size = "100%"; content = { type = "lvm_pv"; vg = "pool"; }; }; }; }; }; }; lvm_vg = { pool = { type = "lvm_vg"; lvs = { swap = { size = "45G"; content = { type = "swap"; discardPolicy = "both"; resumeDevice = true; extraArgs = [ "--label" "SWAP" ]; }; }; root = { size = "400G"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; mountOptions = [ "defaults" ]; extraArgs = [ "-L" "ROOT" ]; }; }; home = { size = "100%FREE"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/home"; extraArgs = [ "-L" "HOME" ]; }; }; }; }; }; }; }