collect "device" options into an attrset

module-based-network
Daniel Barlow 2023-02-22 18:31:46 +00:00
parent a2d8eaf95d
commit e89fcfbf09
1 changed files with 6 additions and 4 deletions

View File

@ -54,11 +54,13 @@ in {
default = [];
};
};
device.defaultOutput = mkOption {
type = types.nonEmptyStr;
device = {
defaultOutput = mkOption {
type = types.nonEmptyStr;
};
loadAddress = mkOption { default = null; };
entryPoint = mkOption { };
};
device.loadAddress = mkOption { default = null; };
device.entryPoint = mkOption { };
};
config = {
defaultProfile.packages = with pkgs;