diff --git a/nixos/modules/system/boot/loader/limine/limine-install.py b/nixos/modules/system/boot/loader/limine/limine-install.py index 2d8e8b5741de..366d1285a74c 100644 --- a/nixos/modules/system/boot/loader/limine/limine-install.py +++ b/nixos/modules/system/boot/loader/limine/limine-install.py @@ -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']) diff --git a/nixos/modules/system/boot/loader/limine/limine.nix b/nixos/modules/system/boot/loader/limine/limine.nix index 62687e741638..fefc9ab78530 100644 --- a/nixos/modules/system/boot/loader/limine/limine.nix +++ b/nixos/modules/system/boot/loader/limine/limine.nix @@ -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)). ''; };