{ disko.devices = { disk = { main = { type = "disk"; device = "/dev/nvme0n1"; content = { type = "gpt"; partitions = { bootloader = { size = "1M"; type = "EF02"; }; boot = { size = "2G"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/boot"; }; }; luks = { size = "100%"; content = { type = "luks"; name = "crypted"; extraFormatArgs = [ "--type luks2" "--pbkdf argon2id" ]; settings.allowDiscards = true; content = { type = "btrfs"; extraArgs = [ "-f" ]; subvolumes = { "root" = { mountpoint = "/"; mountOptions = [ "noatime" ]; }; "nix" = { mountpoint = "/nix"; mountOptions = [ "noatime" ]; }; "home" = { mountpoint = "/home"; mountOptions = [ "noatime" ]; }; "log" = { mountpoint = "/var/log"; mountOptions = [ "noatime" ]; }; "games" = { mountpoint = "/games"; mountOptions = [ "noatime" ]; }; "vms" = { mountpoint = "/vms"; mountOptions = [ "nodatacow" "noatime" ]; }; "swap" = { mountpoint = "/.swapvol"; mountOptions = [ "nodatacow" "noatime" ]; }; }; }; }; }; }; }; }; }; }; }