Add theme name as option
This commit is contained in:
parent
447c529cdb
commit
395033c25a
1 changed files with 9 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue