collect "device" options into an attrset

This commit is contained in:
Daniel Barlow 2023-02-22 18:31:46 +00:00
parent a2d8eaf95d
commit e89fcfbf09

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;