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 = [];
|
||||
settings.allowDiscards = true;
|
||||
content = {
|
||||
type = "lvm_pv";
|
||||
vg = "pool";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Use LVM to create a partition for swap
|
||||
lvm_vg = {
|
||||
pool = {
|
||||
type = "lvm_vg";
|
||||
lvs = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
# Set swap device as resume device
|
||||
swap = {
|
||||
size = "4G";
|
||||
|
|
@ -89,4 +76,9 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue