reNixos/viola/disko/lvm_vg.nix
s0me1newithhand7s 7b5e5f218b s0meMiniPC-nix -> viola: rename
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-02-08 22:18:49 +03:00

51 lines
1.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"
"noatime"
"discard=async"
];
};
"/home" = {
mountpoint = "/home";
mountOptions = [
"compress=zstd"
"noatime"
"discard=async"
];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
"noatime"
"discard=async"
];
};
};
};
};
};
};
};
};
};
}