{ disko.devices = { disk = { sda = { type = "disk"; device = "/dev/sda"; content = { type = "gpt"; partitions = { boot = { priority = 1; name = "ESP"; start = "1M"; end = "128M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; root = { size = "100%"; content = { type = "btrfs"; extraArgs = ["-f"]; subvolumes = { "/root" = { mountpoint = "/"; mountOptions = ["compress=zstd" "noatime"]; }; "/home" = { mountpoint = "/home"; mountOptions = ["compress=zstd" "noatime"]; }; "/nix" = { mountpoint = "/nix"; mountOptions = ["compress=zstd" "noatime"]; }; "/swap" = { mountpoint = "/.swapvol"; mountOptions = ["nodatacow" "noatime"]; swap.swapfile.size = "20M"; }; "/log" = { mountpoint = "/var/log"; mountOptions = ["compress=zstd" "noatime"]; }; }; }; }; }; }; }; }; }; }