From 56faa5e9caf4408c2c4d6df50287c3b1c9e6c1b4 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 5 Feb 2025 03:38:52 -0800 Subject: Finish automation of spontaneity cloud deployments --- nix/modules/vda-simple.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'nix/modules/vda-simple.nix') diff --git a/nix/modules/vda-simple.nix b/nix/modules/vda-simple.nix index f18b1c3..32fa28d 100644 --- a/nix/modules/vda-simple.nix +++ b/nix/modules/vda-simple.nix @@ -1,26 +1,18 @@ { disko.devices = { disk = { - my-disk = { + main = { device = "/dev/vda"; type = "disk"; content = { type = "gpt"; partitions = { - ESP = { - type = "EF00"; - size = "500M"; - priority = 1; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - mountOptions = [ "umask=0077" ]; - }; + boot = { + size = "1M"; + type = "EF02"; }; root = { size = "100%"; - priority = 2; content = { type = "filesystem"; format = "ext4"; -- cgit