fix: NixOS | add persist subvolumes for btrfs in disko
This commit is contained in:
@@ -45,6 +45,10 @@
|
|||||||
mountpoint = "/var/log";
|
mountpoint = "/var/log";
|
||||||
mountOptions = ["subvol=log" "compress=zstd" "noatime"];
|
mountOptions = ["subvol=log" "compress=zstd" "noatime"];
|
||||||
};
|
};
|
||||||
|
"/persist" = {
|
||||||
|
mountpoint = "/persist";
|
||||||
|
mountOptions = ["subvol=persist" "compress=zstd" "noatime"];
|
||||||
|
};
|
||||||
"/swap" = {
|
"/swap" = {
|
||||||
mountpoint = "/swap";
|
mountpoint = "/swap";
|
||||||
swap.swapfile.size = "64G";
|
swap.swapfile.size = "64G";
|
||||||
@@ -58,4 +62,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/persist".neededForBoot = true;
|
||||||
|
fileSystems."/var/log".neededForBoot = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user