nix/modules/desktop/plymouth.nix
2024-06-27 15:31:12 +02:00

18 lines
406 B
Nix

{ lib, config, pkgs, ... }:
let
cfg = config.plymouth;
in
{
options.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" ]; }) ];
};
};
}