Generate partitioning script properly
This commit is contained in:
parent
68c3599705
commit
2204388a39
1 changed files with 7 additions and 1 deletions
|
@ -231,7 +231,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
script = config.partition.os.script;
|
||||
script =
|
||||
let
|
||||
inherit (config.partition)
|
||||
os
|
||||
disks
|
||||
;
|
||||
in lib.strings.concatLines (builtins.map (_: _.script) ([os] ++ (builtins.attrValues disks)));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue