kyra(hardening): disko LVM subvolume prepare for Impermanence
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
72def65f54
commit
fbe9a78856
1 changed files with 24 additions and 7 deletions
|
|
@ -1,22 +1,39 @@
|
|||
{
|
||||
_: {
|
||||
disko = {
|
||||
devices = {
|
||||
lvm_vg = {
|
||||
pool = {
|
||||
"pool" = {
|
||||
type = "lvm_vg";
|
||||
lvs = {
|
||||
root = {
|
||||
"root" = {
|
||||
size = "100%FREE";
|
||||
content = {
|
||||
type = "btrfs";
|
||||
mountpoint = "/";
|
||||
extraArgs = [
|
||||
"-f"
|
||||
];
|
||||
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
];
|
||||
subvolumes = {
|
||||
"/nix" = {
|
||||
mountpoint = "/nix";
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
"nodev"
|
||||
"nosuid"
|
||||
];
|
||||
};
|
||||
|
||||
"/persist" = {
|
||||
mountpoint = "/persist";
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
"nodev"
|
||||
"nosuid"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue