blob: 5f7952bc97afb04a0277fe5dec2477d878d6bd33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{
pkgs,
config,
lib,
...
}: let
cfg = config.collinux.boot.plymouth;
in
lib.mkIf cfg.enable {
boot.plymouth = {
enable = true;
theme =
if (cfg.theme == "catppuccin")
then "catppuccin-macchiato" # for whatever reason catppuccin-mocha has errors
else "nixos-bgrt";
themePackages =
if (cfg.theme == "catppuccin")
then [pkgs.catppuccin-plymouth]
else [pkgs.nixos-bgrt-plymouth];
};
}
|