kyra(hardening): disko LVM subvolume prepare for Impermanence

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-05-03 15:30:52 +03:00
parent 72def65f54
commit fbe9a78856

View file

@ -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"
];
};
};
};
};
};