2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-03-28 16:13:46 -04:00
|
|
|
options = {
|
2024-04-17 22:39:00 -04:00
|
|
|
alyraffauf.system.plymouth.enable =
|
2024-04-07 22:16:33 -04:00
|
|
|
lib.mkEnableOption
|
2024-03-28 16:40:23 -04:00
|
|
|
"Enables plymouth boot screen with reduced text verbosity.";
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
|
2024-04-17 22:39:00 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.system.plymouth.enable {
|
2024-03-28 16:13:46 -04:00
|
|
|
boot = {
|
|
|
|
consoleLogLevel = 0;
|
|
|
|
initrd.verbose = false;
|
2024-04-23 22:40:10 -04:00
|
|
|
plymouth = {
|
|
|
|
enable = true;
|
2024-06-04 01:18:46 -04:00
|
|
|
themePackages = [pkgs.catppuccin-plymouth];
|
2024-04-23 22:40:10 -04:00
|
|
|
theme = "catppuccin-frappe";
|
2024-06-04 01:18:46 -04:00
|
|
|
font = "${pkgs.nerdfonts}/share/fonts/truetype/NerdFonts/NotoSansNerdFont-Regular.ttf";
|
2024-04-23 22:40:10 -04:00
|
|
|
};
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|