add btrfs subvolumes

This commit is contained in:
lassulus 2022-08-25 21:46:17 +02:00
parent dadc491330
commit 81e704b638
3 changed files with 80 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{
type = "devices";
content = {
vdb = {
type = "table";
format = "gpt";
partitions = [
{
type = "partition";
part-type = "primary";
start = "0%";
end = "100%";
content = {
type = "btrfs";
mountpoint = "/";
subvolumes = [
"/home"
"/test"
];
};
}
];
};
};
}