diff options
author | Mathieu A.-Tetreault <alexandretm@amotus.ca> | 2019-10-24 16:28:11 -0400 |
---|---|---|
committer | Mathieu A.-Tetreault <alexandretm@amotus.ca> | 2019-10-25 11:22:45 -0400 |
commit | 054ceb826e2aedd849be741a0ae1888eb87cd569 (patch) | |
tree | f5265e5db629f4a50a32c5e8e2116197dd981d8b /nixos/modules | |
parent | 6db4ae1f278072577fb065168ce54604f7ce009a (diff) | |
download | nixlib-054ceb826e2aedd849be741a0ae1888eb87cd569.tar nixlib-054ceb826e2aedd849be741a0ae1888eb87cd569.tar.gz nixlib-054ceb826e2aedd849be741a0ae1888eb87cd569.tar.bz2 nixlib-054ceb826e2aedd849be741a0ae1888eb87cd569.tar.lz nixlib-054ceb826e2aedd849be741a0ae1888eb87cd569.tar.xz nixlib-054ceb826e2aedd849be741a0ae1888eb87cd569.tar.zst nixlib-054ceb826e2aedd849be741a0ae1888eb87cd569.zip |
plymouth: Add extra config field
Signed-off-by: Mathieu A.-Tetreault <alexandretm@amotus.ca>
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/system/boot/plymouth.nix | 10 |
1 files changed, 10 insertions, 0 deletions
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 <literal>configFile</literal> + and the config file generated by the plymouth module. + ''; + }; + }; }; |