feat: parameterized size in disko script for other install
Some checks failed
ci / nix-fmt (push) Has been cancelled
Some checks failed
ci / nix-fmt (push) Has been cancelled
This commit is contained in:
parent
4c005cd1de
commit
b3e7432d3f
1 changed files with 2 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue