auto root partition resize
This commit is contained in:
parent
a40d5a544e
commit
301333dcc9
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue