From 395033c25a9ab2db50f4f3085becfa0477247808 Mon Sep 17 00:00:00 2001 From: pazpi Date: Wed, 11 Sep 2024 21:30:17 +0200 Subject: [PATCH] Add theme name as option --- modules/desktop/plymouth.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/desktop/plymouth.nix b/modules/desktop/plymouth.nix index 970bd15..81dceab 100644 --- a/modules/desktop/plymouth.nix +++ b/modules/desktop/plymouth.nix @@ -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 {