declare device.flash options in base.nix
because they're specified in devices/*/default.nix
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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 = {
|
||||
|
Reference in New Issue
Block a user