diff --git a/devices/zyxel-nwa50ax/default.nix b/devices/zyxel-nwa50ax/default.nix index e991a9d..23a394a 100644 --- a/devices/zyxel-nwa50ax/default.nix +++ b/devices/zyxel-nwa50ax/default.nix @@ -235,9 +235,12 @@ services.zyxel-dual-image = config.boot.zyxel-dual-image.build { ensureActiveImage = "primary"; # TODO: use mtd names rather… + # primary and secondary are always /dev/mtd3 by virtue of the + # dtb being not too wrong… + # TODO: remove this hack. primaryMtdPartition = "/dev/mtd3"; - secondaryMtdPartition = "/dev/mtd6"; - bootConfigurationMtdPartition = "/dev/mtd10"; + secondaryMtdPartition = "/dev/mtd3"; + bootConfigurationMtdPartition = "/dev/mtd12"; }; # DEVICE_VENDOR := ZyXEL