ooknet/inputs/system/modules/base/boot/plymouth.nix

18 lines
384 B
Nix

{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.systemModules.plymouth;
in
{
options.systemModules.boot.plymouth.enable = mkEnableOption "";
config = mkIf cfg.enable {
boot.plymouth = {
enable = true;
themePackages = [(pkgs.catppuccin-plymouth.override {variant = "mocha";})];
theme = "catppuccin-mocha";
};
};
}