This commit is contained in:
TheWanderingCrow 2024-12-29 20:16:00 -05:00
parent 58dea90ea9
commit 663aeffed8
9 changed files with 92 additions and 37 deletions

View file

@ -0,0 +1,5 @@
{
imports = [
./plymouth.nix
];
}

View file

@ -0,0 +1,32 @@
{
config,
lib,
pkgs,
...
}: let
basic = {
theme = "breeze";
logo = "${pkgs.nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake-white.png";
font = "${pkgs.dejavu_fonts.minimal}/share/fonts/truetype/DejaVuSans.ttf";
extraConfig = "";
};
in {
boot.plymouth = {
theme =
if config.ricing.basic.enable
then basic.theme
else null;
logo =
if config.ricing.basic.enable
then basic.logo
else null;
font =
if config.ricing.basic.enable
then basic.font
else null;
extraConfig =
if config.ricing.basic.enable
then basic.extraConfig
else null;
};
}