fix: NixOS | add persist subvolumes for btrfs in disko

This commit is contained in:
2025-02-02 15:27:33 +05:00
parent 5f6dfa3dfa
commit 82803c619f

View File

@@ -45,6 +45,10 @@
mountpoint = "/var/log";
mountOptions = ["subvol=log" "compress=zstd" "noatime"];
};
"/persist" = {
mountpoint = "/persist";
mountOptions = ["subvol=persist" "compress=zstd" "noatime"];
};
"/swap" = {
mountpoint = "/swap";
swap.swapfile.size = "64G";
@@ -58,4 +62,7 @@
};
};
};
fileSystems."/persist".neededForBoot = true;
fileSystems."/var/log".neededForBoot = true;
}