{ disko.devices = { disk = { disk1 = { device = "/dev/sda"; type = "disk"; content = { type = "gpt"; partitions = { # legacy boot boot = { name = "boot"; size = "1M"; type = "EF02"; }; # efi boot esp = { name = "ESP"; size = "512M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; # btrfs # root is on nodev root = { size = "100%"; content = { extraArgs = ["-f"]; # internet told me to, works type = "btrfs"; subvolumes = { # nix store "/nix" = { mountpoint = "/nix"; }; # persistant directory "/persist" = { mountpoint = "/persist"; }; }; }; }; }; }; }; }; nodev = { # root "/" = { fsType = "tmpfs"; mountOptions = [ "defaults" "mode=755" # stops security complaints ]; }; }; }; }