diff --git a/modules/base.nix b/modules/base.nix index b9964e9..435f38e 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -68,6 +68,10 @@ in { defaultOutput = mkOption { type = types.nonEmptyStr; }; + flash = { + address = mkOption { type = types.str; }; + size = mkOption { type = types.str; }; + }; loadAddress = mkOption { default = null; }; entryPoint = mkOption { }; radios = mkOption { diff --git a/modules/flashable.nix b/modules/flashable.nix index 8def6fc..b444302 100644 --- a/modules/flashable.nix +++ b/modules/flashable.nix @@ -9,10 +9,6 @@ let inherit (config.boot) tftp; in { options = { - device.flash = { - address = mkOption { type = types.str; }; - size = mkOption { type = types.str; }; - }; }; config = { kernel = {