nixos/limine: add helpColor and helpColorBright options

This commit is contained in:
Ryan Omasta
2026-05-02 14:30:55 -06:00
parent 9b4cdea009
commit 833fe2d511
2 changed files with 20 additions and 2 deletions
@@ -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)).
'';
};