auto root partition resize

This commit is contained in:
Satria 2026-03-08 22:13:09 +07:00
commit 301333dcc9

View file

@ -5,7 +5,9 @@
autoResize = true; autoResize = true;
}; };
in { in {
fileSystems = lib.mapAttrs' (name: device: fileSystems = {
"/".autoResize = true;
} // lib.mapAttrs' (name: device:
lib.nameValuePair "/mnt/${name}" (globalOpts // { inherit device; }) lib.nameValuePair "/mnt/${name}" (globalOpts // { inherit device; })
) homelab.disks; ) homelab.disks;
} }