mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 04:34:33 +00:00
31 lines
992 B
Nix
31 lines
992 B
Nix
{lib, ...}:
|
|
with lib; let
|
|
inherit (lib) mkEnableOption mkOption types;
|
|
in {
|
|
options.myOptions.system.boot.plymouth = {
|
|
enable = mkEnableOption ''
|
|
Plymouth boot splash.
|
|
|
|
Works best on devices with slower boot times, otherwise it might just appear
|
|
for a second or two, at which point it's probably not worth enabling.
|
|
'';
|
|
|
|
withThemes = mkEnableOption ''
|
|
Whether or not themes from https://github.com/adi1090x/plymouth-themes
|
|
should be enabled and configured.
|
|
'';
|
|
|
|
selectedTheme = mkOption {
|
|
type = types.str;
|
|
default = "bgrt";
|
|
description = ''
|
|
Choose which theme to use.
|
|
|
|
If you have `myOptions.system.boot.plymouth.withThemes` enabled, you can use more themes from the
|
|
https://github.com/adi1090x/plymouth-themes project. You can find the the available theme names at
|
|
https://github.com/NixOS/nixpkgs/blob/master/pkgs/data/themes/adi1090x-plymouth-themes/shas.nix.
|
|
'';
|
|
};
|
|
};
|
|
}
|