diff --git a/modules/base.nix b/modules/base.nix index b9964e93..435f38e6 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 8def6fcb..b444302e 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 = {