feat: parameterized size in disko script for other install
Some checks failed
ci / nix-fmt (push) Has been cancelled

This commit is contained in:
Ceferino Patino 2026-04-29 20:33:17 -05:00
commit b3e7432d3f
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI

View file

@ -1,6 +1,7 @@
{
main ? throw "Primary device not defined",
extras ? [],
size ? "100%",
...
}: let
mainDisk = {
@ -34,7 +35,7 @@
};
root = {
name = "root";
size = "100%";
size = size;
content = {
type = "zfs";
pool = "zroot";