From 054ceb826e2aedd849be741a0ae1888eb87cd569 Mon Sep 17 00:00:00 2001 From: "Mathieu A.-Tetreault" Date: Thu, 24 Oct 2019 16:28:11 -0400 Subject: plymouth: Add extra config field Signed-off-by: Mathieu A.-Tetreault --- nixos/modules/system/boot/plymouth.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nixos/modules') diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix index adca3c3f66e7..23fce22366d8 100644 --- a/nixos/modules/system/boot/plymouth.nix +++ b/nixos/modules/system/boot/plymouth.nix @@ -25,6 +25,7 @@ let [Daemon] ShowDelay=0 Theme=${cfg.theme} + ${cfg.extraConfig} ''; in @@ -65,6 +66,15 @@ in ''; }; + extraConfig = mkOption { + type = types.lines; + default = ""; + description = '' + Literal string to append to configFile + and the config file generated by the plymouth module. + ''; + }; + }; }; -- cgit 1.4.1