Unverified Commit 1c29219d authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

nixos/limine: add helpColor and helpColorBright options (#515961)

parents dcd28ae5 833fe2d5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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'])
+18 −2
Original line number Diff line number Diff line
@@ -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 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 index of the title at the top of the screen in the range of 0-7 (Limine defaults to 6 (cyan)).
            Color of the bright help text used for the auto-boot countdown digit in RRGGBB format (Limine defaults to #55FF55 (bright green)).
          '';
        };