nixcfg/nixosModules/system/plymouth/default.nix

26 lines
573 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {
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.";
};
config = lib.mkIf config.alyraffauf.system.plymouth.enable {
boot = {
consoleLogLevel = 0;
initrd.verbose = false;
plymouth = {
enable = true;
themePackages = [pkgs.catppuccin-plymouth];
theme = "catppuccin-frappe";
font = "${pkgs.nerdfonts}/share/fonts/truetype/NerdFonts/NotoSansNerdFont-Regular.ttf";
};
};
};
}