mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 07:29:17 -05:00
28 lines
655 B
Nix
28 lines
655 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {
|
|
alyraffauf.system.plymouth.enable =
|
|
lib.mkEnableOption
|
|
"Enables plymouth boot screen with reduced text verbosity.";
|
|
};
|
|
|
|
config = lib.mkIf config.alyraffauf.system.plymouth.enable {
|
|
boot = {
|
|
consoleLogLevel = 0;
|
|
initrd.verbose = false;
|
|
plymouth = {
|
|
enable = true;
|
|
themePackages = [(pkgs.catppuccin-plymouth.override {variant = "frappe";})];
|
|
theme = "catppuccin-frappe";
|
|
font = "${pkgs.nerdfonts.override {
|
|
fonts = ["Noto"];
|
|
}}/share/fonts/truetype/NerdFonts/NotoSansNerdFont-Regular.ttf";
|
|
};
|
|
};
|
|
};
|
|
}
|