types btrfs: fix format without swap or subvolumes

This commit is contained in:
Kira Bruneau authored and mergify[bot] committed 2024-04-08 21:37:04 +00:00
1 parent 9e0bf2fe7f
commit 79eab0e82c
3 files changed
+73 -23

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
{
disko.devices = {
disk = {
vdb = {
type = "disk";
device = "/dev/disk/by-diskseq/1";
content = {
type = "gpt";
partitions = {
ESP = {
priority = 1;
name = "ESP";
start = "1M";
end = "128M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "btrfs";
extraArgs = [ "-f" ]; # Override existing partition
mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" ];
};
};
};
};
};
};
};
}