fix(disko-config): use disko.devices.disk instead of top-level disk
disko module defines options under `disko.devices.disk.*`, not `disk.*`. This was causing evaluation error: "The option 'disk' does not exist. Did you mean 'disko'?"
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
disk = {
|
disko.devices.disk.main = {
|
||||||
main = {
|
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = "/dev/disk/by-path/platform-fe340000.mmc";
|
device = "/dev/disk/by-path/platform-fe340000.mmc";
|
||||||
content = {
|
content = {
|
||||||
@@ -44,5 +43,4 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user