aboutsummaryrefslogtreecommitdiff
path: root/nix/modules/vda-simple.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-02-05 03:38:52 -0800
committerPreston Pan <ret2pop@gmail.com>2025-02-05 03:38:52 -0800
commit56faa5e9caf4408c2c4d6df50287c3b1c9e6c1b4 (patch)
tree188362e97ecfd0f935b1ac1efc1c3cfb00ef616e /nix/modules/vda-simple.nix
parent990134fdcefe5a520b09ac6dfcaf97066fde6685 (diff)
Finish automation of spontaneity cloud deployments
Diffstat (limited to 'nix/modules/vda-simple.nix')
-rw-r--r--nix/modules/vda-simple.nix16
1 files changed, 4 insertions, 12 deletions
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";