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 = {
|
disko = {
|
||||||
devices = {
|
devices = {
|
||||||
lvm_vg = {
|
lvm_vg = {
|
||||||
pool = {
|
"pool" = {
|
||||||
type = "lvm_vg";
|
type = "lvm_vg";
|
||||||
lvs = {
|
lvs = {
|
||||||
root = {
|
"root" = {
|
||||||
size = "100%FREE";
|
size = "100%FREE";
|
||||||
content = {
|
content = {
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
mountpoint = "/";
|
|
||||||
extraArgs = [
|
extraArgs = [
|
||||||
"-f"
|
"-f"
|
||||||
];
|
];
|
||||||
|
|
||||||
mountOptions = [
|
subvolumes = {
|
||||||
"compress=zstd"
|
"/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