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:
2026-06-06 16:39:46 -04:00
parent 486758e51a
commit eaf879c4d1

View File

@@ -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 @@
}; };
}; };
}; };
};
} }