make loadAddress and entryPoint device configuration

... already having second thoughts about loadAddress
This commit is contained in:
Daniel Barlow
2023-02-10 18:20:01 +00:00
parent 8cead61740
commit 0a06319d0c
6 changed files with 27 additions and 22 deletions

View File

@@ -29,28 +29,28 @@ in {
default = "true";
type = types.lines;
} ;
dts = mkOption { type = types.string; };
dts = mkOption { type = types.path; };
config = mkOption {
# mostly the values are y n or m, but sometimes
# other strings are also used
type = types.attrsOf types.nonEmptyStr;
};
};
boot.commandLine = mkOption {
type = types.listOf types.nonEmptyStr;
};
groups = mkOption {
type = types.attrsOf types.anything;
};
users = mkOption {
type = types.attrsOf types.anything;
};
device = {
defaultOutput = mkOption {
type = types.nonEmptyStr;
};
boot = mkOption { type = types.any; };
boot.commandLine = mkOption {
type = types.listOf types.nonEmptyStr;
default = [];
};
device.defaultOutput = mkOption {
type = types.nonEmptyStr;
};
device.loadAddress = mkOption { default = null; };
device.entryPoint = mkOption { };
};
config = {
defaultProfile.packages = with pkgs;