{ ... }: { boot.loader.grub.device = "/dev/vda"; fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; }; swapDevices = [ { device = "/swapfile"; } # 4GB ]; }