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