mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-15 19:23:01 +03:00
95ae031200
This will be used by the boot GUI to only show relevant reboot options. We might add other HAL-ish things in there. Note that this is all internal stuff :)
24 lines
494 B
Nix
24 lines
494 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
inherit (lib) types;
|
|
in
|
|
{
|
|
options = {
|
|
# All of this should stay internal.
|
|
mobile.HAL = {
|
|
boot = {
|
|
rebootModes = lib.mkOption {
|
|
type = types.listOf types.str;
|
|
internal = true;
|
|
default = [];
|
|
description = ''
|
|
Identifiers known by the boot menu to provide reboot options
|
|
that are hardware-dependent. E.g. reboot to bootloader.
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|