Add theme name as option

This commit is contained in:
pazpi 2024-09-11 21:30:17 +02:00
parent 447c529cdb
commit 395033c25a

View file

@ -1,8 +1,7 @@
{
lib,
config,
pkgs,
...
{ lib
, config
, pkgs
, ...
}:
let
cfg = config.my.desktop.plymouth;
@ -10,6 +9,11 @@ in
{
options.my.desktop.plymouth = {
enable = lib.mkEnableOption "Enable Plymouth and apply customization module";
theme = lib.mkOption {
type = lib.types.str;
description = "The Plymouth theme to use, from adi1090x repo";
default = "colorful_loop";
};
};
config = lib.mkIf cfg.enable {