2021-08-27 06:50:00 +03:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (lib)
|
|
|
|
mkOption
|
|
|
|
;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
mobile = {
|
|
|
|
outputs = {
|
|
|
|
default = mkOption {
|
2023-03-15 08:02:25 +03:00
|
|
|
description = lib.mdDoc ''
|
2021-08-27 06:50:00 +03:00
|
|
|
Default most likely desired output for this Mobile NixOS build.
|
|
|
|
|
|
|
|
The default depends on the system type in use.
|
|
|
|
'';
|
2021-08-30 02:46:48 +03:00
|
|
|
# Mark internal so that the documentation does not expose a bogus description.
|
|
|
|
internal = true;
|
2021-08-27 06:50:00 +03:00
|
|
|
};
|
2022-10-26 02:22:14 +03:00
|
|
|
toplevel = mkOption {
|
2023-03-15 08:02:25 +03:00
|
|
|
description = lib.mdDoc ''
|
2022-10-26 02:22:14 +03:00
|
|
|
First-class attribute to refer to `config.system.build.toplevel`.
|
|
|
|
'';
|
|
|
|
internal = true;
|
|
|
|
default = config.system.build.toplevel;
|
|
|
|
};
|
2021-08-27 06:50:00 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|