mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
update btrfs
This commit is contained in:
parent
1fddc7c389
commit
939abc56da
1 changed files with 40 additions and 48 deletions
|
|
@ -27,21 +27,8 @@
|
||||||
extraOpenArgs = [];
|
extraOpenArgs = [];
|
||||||
settings.allowDiscards = true;
|
settings.allowDiscards = true;
|
||||||
content = {
|
content = {
|
||||||
type = "lvm_pv";
|
type = "gpt";
|
||||||
vg = "pool";
|
partitions = {
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Use LVM to create a partition for swap
|
|
||||||
lvm_vg = {
|
|
||||||
pool = {
|
|
||||||
type = "lvm_vg";
|
|
||||||
lvs = {
|
|
||||||
# Set swap device as resume device
|
# Set swap device as resume device
|
||||||
swap = {
|
swap = {
|
||||||
size = "4G";
|
size = "4G";
|
||||||
|
|
@ -89,4 +76,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue