This commit is contained in:
albert 2024-04-26 23:23:16 +09:00
parent 426b920c72
commit 30d3909df7
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -25,7 +25,7 @@
}; # partition 1 (ESP) }; # partition 1 (ESP)
ROOT = { ROOT = {
start = "550MiB"; start = "550MiB";
end = "100%"; size = "100%";
content = { content = {
type = "btrfs"; type = "btrfs";
extraArgs = [ "-f" ]; extraArgs = [ "-f" ];
@ -48,5 +48,29 @@
}; # partitions }; # partitions
}; # content }; # content
}; # disko.devices.disk.nvme0 }; # disko.devices.disk.nvme0
}; # disko.devices.disk
mmcblk0 = {
type = "disk";
device = "/dev/mmcblk0";
content = {
type = "gpt";
partitions = {
MICROSD = {
name = "MICROSD";
size = "100%";
content = {
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"/microsd" = {
mountpoint = "/microsd";
mountOptions = [ "compress=none" "noatime" ];
}; # sd_card
}; # subvolumes
}; # content
}; # partition 2 (MICROSD BTRFS)
}; # partitions
}; # content
}; # disko.devices.disk.mmcblk0
}; # disko.devices
} # root } # root