mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-13 12:35:48 +03:00
0bb69c85d6
Used this elegant context-aware mass-edit tool: ``` $ find . -name '*.nix' -exec sed -i -e "s/description = ''/description = lib.mdDoc ''/g" '{}' ';' ```
32 lines
725 B
Nix
32 lines
725 B
Nix
{ config, lib, ... }:
|
|
|
|
let
|
|
inherit (lib)
|
|
mkOption
|
|
;
|
|
in
|
|
{
|
|
options = {
|
|
mobile = {
|
|
outputs = {
|
|
default = mkOption {
|
|
description = lib.mdDoc ''
|
|
Default most likely desired output for this Mobile NixOS build.
|
|
|
|
The default depends on the system type in use.
|
|
'';
|
|
# Mark internal so that the documentation does not expose a bogus description.
|
|
internal = true;
|
|
};
|
|
toplevel = mkOption {
|
|
description = lib.mdDoc ''
|
|
First-class attribute to refer to `config.system.build.toplevel`.
|
|
'';
|
|
internal = true;
|
|
default = config.system.build.toplevel;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|