nix/modules/desktop/plymouth.nix

25 lines
450 B
Nix

{
lib,
config,
pkgs,
...
}:
let
cfg = config.my.desktop.plymouth;
in
{
options.my.desktop.plymouth = {
enable = lib.mkEnableOption "Enable Plymouth and apply customization module";
};
config = lib.mkIf cfg.enable {
boot.plymouth = {
enable = true;
theme = "colorful_loop";
themePackages = [
(pkgs.adi1090x-plymouth-themes.override { selected_themes = [ "colorful_loop" ]; })
];
};
};
}