{ disko.devices = { nodev."/" = { fsType = "tmpfs"; mountOptions = [ "defaults" "size=16G" "mode=755" ]; }; disk.main = { type = "disk"; device = "/dev/vda"; content = { type = "gpt"; partitions = { ESP = { priority = 1; size = "512M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "defaults" ]; }; }; luks = { size = "100%"; content = { type = "luks"; name = "crypted"; settings = { allowDiscards = true; }; content = { type = "btrfs"; extraArgs = ["-f"]; subvolumes = { nix = { mountpoint = "/nix"; mountOptions = ["compress=zstd" "noatime"]; }; persist = { mountpoint = "/persist"; mountOptions = ["compress=zstd" "noatime"]; }; log = { mountpoint = "/var/log"; mountOptions = ["compress=zstd" "noatime"]; }; tmp = { mountpoint = "/tmp"; mountOptions = ["noatime"]; }; swap = { mountpoint = "/swap"; mountOptions = ["noatime"]; swap.swapfile.size = "32G"; }; }; }; }; }; }; }; }; }; }