CrOS/modules/ricing/plymouth.nix
TheWanderingCrow 93147fade0 plymouth
2024-12-30 10:56:25 -05:00

21 lines
318 B
Nix

{
config,
lib,
pkgs,
...
}: let
rices = {
basic = {
enable = true;
theme = "deus_ex";
extraConfig = "";
};
};
rice = let
enabledSet = lib.filter (set: config.ricing.${set}.enable) (lib.attrNames rices);
in
rices.${lib.head enabledSet};
in {
boot.plymouth = rice;
}