nixos/limine: add helpColor and helpColorBright options
This commit is contained in:
@@ -479,6 +479,8 @@ def install_bootloader() -> None:
|
||||
config_file += option_from_config('interface_resolution', ['style', 'interface', 'resolution'])
|
||||
config_file += option_from_config('interface_branding', ['style', 'interface', 'branding'])
|
||||
config_file += option_from_config('interface_branding_colour', ['style', 'interface', 'brandingColor'])
|
||||
config_file += option_from_config('interface_help_colour', ['style', 'interface', 'helpColor'])
|
||||
config_file += option_from_config('interface_help_colour_bright', ['style', 'interface', 'helpColorBright'])
|
||||
config_file += option_from_config('interface_help_hidden', ['style', 'interface', 'helpHidden'])
|
||||
config_file += option_from_config('term_font_scale', ['style', 'graphicalTerminal', 'font', 'scale'])
|
||||
config_file += option_from_config('term_font_spacing', ['style', 'graphicalTerminal', 'font', 'spacing'])
|
||||
|
||||
@@ -297,9 +297,25 @@ in
|
||||
|
||||
brandingColor = lib.mkOption {
|
||||
default = null;
|
||||
type = lib.types.nullOr lib.types.int;
|
||||
type = lib.types.nullOr lib.types.str;
|
||||
description = ''
|
||||
Color index of the title at the top of the screen in the range of 0-7 (Limine defaults to 6 (cyan)).
|
||||
Color of the title at the top of the screen in RRGGBB format (Limine defaults to #00AAAA (cyan)).
|
||||
'';
|
||||
};
|
||||
|
||||
helpColor = lib.mkOption {
|
||||
default = null;
|
||||
type = lib.types.nullOr lib.types.str;
|
||||
description = ''
|
||||
Color of the help text displayed beside keybinds in RRGGBB format (Limine defaults to #00AA00 (dark green)).
|
||||
'';
|
||||
};
|
||||
|
||||
helpColorBright = lib.mkOption {
|
||||
default = null;
|
||||
type = lib.types.nullOr lib.types.str;
|
||||
description = ''
|
||||
Color of the bright help text used for the auto-boot countdown digit in RRGGBB format (Limine defaults to #55FF55 (bright green)).
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user