reNixos/s0melapt0p-nix/disko/lvm_vg.nix
s0me1newithhand7s e4e1b03c7e
treewide: upstreaming changes
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
2025-10-24 21:03:46 +03:00

57 lines
2.2 KiB
Nix

{...}: {
disko = {
devices = {
lvm_vg = {
pool = {
type = "lvm_vg";
lvs = {
root = {
size = "100%";
content = {
type = "btrfs";
extraArgs = [
"-f"
];
subvolumes = {
"/root" = {
mountpoint = "/";
mountOptions = [
"compress=zstd"
"commit=100"
"max_inline=256"
"ssd_spread"
"noatime"
];
};
"/home" = {
mountpoint = "/home";
mountOptions = [
"compress=zstd"
"max_inline=256"
"commit=100"
"ssd_spread"
"noatime"
];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
"commit=100"
"max_inline=256"
"ssd_spread"
"noatime"
];
};
};
};
};
};
};
};
};
};
}