disko: fix eval
This commit is contained in:
parent
183da9d6e3
commit
d6b3b5a3cd
|
@ -49,7 +49,8 @@ in
|
|||
}
|
||||
];
|
||||
|
||||
disko.devices =
|
||||
disko = {
|
||||
devices =
|
||||
let
|
||||
rootSize = 200;
|
||||
zfs = {
|
||||
|
@ -60,7 +61,8 @@ in
|
|||
};
|
||||
};
|
||||
in
|
||||
lib.mkIf (cfg.rootDisk != "") {
|
||||
lib.mkIf (cfg.rootDisk != "")
|
||||
{
|
||||
disk.${cfg.rootDisk} = {
|
||||
device = cfg.rootDisk;
|
||||
type = "disk";
|
||||
|
@ -182,5 +184,8 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
# we use our own hardware-configuration.nix
|
||||
enableConfig = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user