collect "device" options into an attrset
This commit is contained in:
parent
a2d8eaf95d
commit
e89fcfbf09
1 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue